|
1 | | -{{^as_is}}$for(header-includes)$ $header-includes$ $endfor${{/as_is}} |
| 1 | +<!-- Last updated: pkgdown 2.1.3 --> |
| 2 | +{{^as_is}}$for(header-includes)$ |
| 3 | +$header-includes$ |
| 4 | +$endfor${{/as_is}} |
2 | 5 |
|
3 | 6 | <div class="row"> |
4 | | - <!-- Don't add toc if the article has no toc --> |
| 7 | + <!-- Allow content to be full-width if article has no toc --> |
5 | 8 | <main id="main" $if(toc)$class="col-md-9" $endif$> |
6 | 9 | <div class="page-header"> |
7 | | - {{#logo}}<img src="{{logo.src}}" class="logo" alt="" />{{/logo}} |
| 10 | + {{#logo}}<img src="{{logo.src}}" class="logo" alt="" >{{/logo}} |
8 | 11 | <h1>{{{pagetitle}}}</h1> |
9 | 12 | $if(subtitle)$ |
10 | 13 | <h3 data-toc-skip class="subtitle">$subtitle$</h3> |
11 | | - $endif$ $for(author)$ $if(author.name)$ |
| 14 | + $endif$ |
| 15 | + $for(author)$ |
| 16 | + $if(author.name)$ |
12 | 17 | <h4 data-toc-skip class="author">$author.name$</h4> |
13 | 18 | $if(author.affiliation)$ |
14 | 19 | <address class="author_afil"> |
15 | | - $author.affiliation$<br />$endif$ $if(author.email)$ |
16 | | - <a class="author_email" href="mailto:#">$author.email$</a> |
| 20 | + $author.affiliation$<br>$endif$ |
| 21 | + $if(author.email)$ |
| 22 | + <a class="author_email" href="mailto:#">$author.email$</a> |
17 | 23 | </address> |
18 | | - $endif$ $else$ |
| 24 | + $endif$ |
| 25 | + $else$ |
19 | 26 | <h4 data-toc-skip class="author">$author$</h4> |
20 | | - $endif$ $endfor$ $if(date)$ |
| 27 | + $endif$ |
| 28 | + $endfor$ |
| 29 | + |
| 30 | + $if(date)$ |
21 | 31 | <h4 data-toc-skip class="date">$date$</h4> |
22 | | - $endif$ {{#source}}<small class="dont-index">{{{.}}}</small>{{/source}} |
| 32 | + $endif$ |
| 33 | + |
| 34 | + {{#source}}<small class="dont-index">{{{.}}}</small>{{/source}} |
23 | 35 | <div class="d-none name"><code>{{filename}}</code></div> |
24 | 36 | </div> |
25 | 37 |
|
26 | | - $for(include-before)$ $include-before$ $endfor$ $if(abstract)$ |
| 38 | + $for(include-before)$ |
| 39 | + $include-before$ |
| 40 | + $endfor$ |
| 41 | + |
| 42 | + $if(abstract)$ |
27 | 43 | <div class="abstract"> |
28 | | - <p class="abstract">Abstract</p> |
| 44 | + <p class="abstract">{{#translate}}{{abstract}}{{/translate}}</p> |
29 | 45 | $abstract$ |
30 | 46 | </div> |
31 | | - $endif$ $body$ |
| 47 | + $endif$ |
| 48 | + |
| 49 | +$body$ |
32 | 50 | </main> |
33 | | - $if(toc)$ |
| 51 | + {{#toc}} |
34 | 52 | <aside class="col-md-3"> |
35 | | - <nav id="toc"> |
| 53 | + <nav id="toc" aria-label="{{#translate}}{{toc}}{{/translate}}"> |
36 | 54 | <h2>{{#translate}}{{on_this_page}}{{/translate}}</h2> |
37 | 55 | </nav> |
38 | 56 | </aside> |
39 | | - $endif$ |
| 57 | + {{/toc}} |
| 58 | + |
40 | 59 | </div> |
41 | 60 |
|
42 | | -$for(include-after)$ $include-after$ $endfor$ |
| 61 | +$for(include-after)$ |
| 62 | +$include-after$ |
| 63 | +$endfor$ |
0 commit comments