File tree Expand file tree Collapse file tree 2 files changed +73
-11
lines changed Expand file tree Collapse file tree 2 files changed +73
-11
lines changed Original file line number Diff line number Diff line change 34
34
{{#if env.SITE_SEARCH_PROVIDER}}
35
35
{{> search-scripts}}
36
36
{{/if}}
37
+ - path : partials/footer-content.hbs
38
+ contents : |
39
+ <footer class="footer">
40
+ <p>This page was built using Antora.</p>
41
+ </footer>
37
42
- path : partials/head-styles.hbs
38
43
contents : |
39
44
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
40
45
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css">
41
-
42
- asciidoc :
43
- extensions :
44
- - ' @asciidoctor/tabs'
46
+ - path : partials/header-content.hbs
47
+ contents : |
48
+ <header class="header">
49
+ <nav class="navbar">
50
+ <div class="navbar-brand">
51
+ <a class="navbar-item" href="{{{or site.url siteRootPath}}}">{{site.title}}</a>
52
+ {{#if env.SITE_SEARCH_PROVIDER}}
53
+ <div class="navbar-item search hide-for-print">
54
+ <div id="search-field" class="field">
55
+ <input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
56
+ </div>
57
+ </div>
58
+ {{/if}}
59
+ <button class="navbar-burger" aria-controls="topbar-nav" aria-expanded="false" aria-label="Toggle main menu">
60
+ <span></span>
61
+ <span></span>
62
+ <span></span>
63
+ </button>
64
+ </div>
65
+ <div id="topbar-nav" class="navbar-menu">
66
+ <div class="navbar-end">
67
+ <a class="navbar-item" href="https://github.com/cppalliance/mrdocs/">GitHub</a>
68
+ <div class="navbar-item">
69
+ <span class="control">
70
+ <a class="button is-primary" href="https://github.com/cppalliance/mrdocs/releases">Download</a>
71
+ </span>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ </nav>
76
+ </header>
45
77
46
78
antora :
47
79
extensions :
Original file line number Diff line number Diff line change 31
31
{{#if env.SITE_SEARCH_PROVIDER}}
32
32
{{> search-scripts}}
33
33
{{/if}}
34
+ - path : partials/footer-content.hbs
35
+ contents : |
36
+ <footer class="footer">
37
+ <p>This page was built using Antora.</p>
38
+ </footer>
34
39
- path : partials/head-styles.hbs
35
40
contents : |
36
41
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
37
42
<link rel="stylesheet" href="{{{uiRootPath}}}/css/vendor/tabs.css">
38
-
39
- asciidoc :
40
- extensions :
41
- - ' @asciidoctor/tabs'
42
-
43
-
44
-
43
+ - path : partials/header-content.hbs
44
+ contents : |
45
+ <header class="header">
46
+ <nav class="navbar">
47
+ <div class="navbar-brand">
48
+ <a class="navbar-item" href="{{{or site.url siteRootPath}}}">{{site.title}}</a>
49
+ {{#if env.SITE_SEARCH_PROVIDER}}
50
+ <div class="navbar-item search hide-for-print">
51
+ <div id="search-field" class="field">
52
+ <input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
53
+ </div>
54
+ </div>
55
+ {{/if}}
56
+ <button class="navbar-burger" aria-controls="topbar-nav" aria-expanded="false" aria-label="Toggle main menu">
57
+ <span></span>
58
+ <span></span>
59
+ <span></span>
60
+ </button>
61
+ </div>
62
+ <div id="topbar-nav" class="navbar-menu">
63
+ <div class="navbar-end">
64
+ <a class="navbar-item" href="https://github.com/cppalliance/mrdocs/">GitHub</a>
65
+ <div class="navbar-item">
66
+ <span class="control">
67
+ <a class="button is-primary" href="https://github.com/cppalliance/mrdocs/releases">Download</a>
68
+ </span>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </nav>
73
+ </header>
74
+
45
75
antora :
46
76
extensions :
47
77
- require : ' @antora/lunr-extension' # https://gitlab.com/antora/antora-lunr-extension
You can’t perform that action at this time.
0 commit comments