diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html index de584ac..21ea9a4 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -15,7 +15,7 @@ | |||
15 | $if(keywords)$ | 15 | $if(keywords)$ |
16 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | 16 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> |
17 | $endif$ | 17 | $endif$ |
18 | <title>$if(isHome)$$else$$title$ – $endif$$site.title$</title> | 18 | <title>$if(ishome)$$else$$title$ – $endif$$site.title$</title> |
19 | <link rel="stylesheet" href="/style.css" /> | 19 | <link rel="stylesheet" href="/style.css" /> |
20 | $if(section)$ | 20 | $if(section)$ |
21 | <style> | 21 | <style> |
@@ -40,17 +40,29 @@ | |||
40 | 40 | ||
41 | <main class="s-page l-container l-container--content l-container--pad-v"> | 41 | <main class="s-page l-container l-container--content l-container--pad-v"> |
42 | <div class="s-page__content"> | 42 | <div class="s-page__content"> |
43 | $if(isHome)$ | 43 | $if(ishome)$ |
44 | <header class="c-page-header u-hidden@sm-down" role="presentation"> | 44 | <header class="c-page-header u-hidden@sm-down" role="presentation"> |
45 | ${pageHeader()} | 45 | ${pageHeader()} |
46 | </header> | 46 | </header> |
47 | $endif$ | 47 | $endif$ |
48 | 48 | ||
49 | $body$ | 49 | $body$ |
50 | |||
51 | $if(isblog)$ | ||
52 | $if(pages)$ | ||
53 | <ul class="c-refs"> | ||
54 | $for(pages)$ | ||
55 | <li class="c-refs__item"> | ||
56 | <a href="$it.url_rel$">$it.date$ - $it.title$</a> | ||
57 | </li> | ||
58 | $endfor$ | ||
59 | </ul> | ||
60 | $endif$ | ||
61 | $endif$ | ||
50 | </div> | 62 | </div> |
51 | </main> | 63 | </main> |
52 | 64 | ||
53 | $if(isHome)$ | 65 | $if(ishome)$ |
54 | <template id="header-sm"> | 66 | <template id="header-sm"> |
55 | ${pageHeaderSm()} | 67 | ${pageHeaderSm()} |
56 | </template> | 68 | </template> |