summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index 96dd4ff..d381984 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -31,15 +31,15 @@
31<body> 31<body>
32 <nav class="c-nav"> 32 <nav class="c-nav">
33 <div class="c-nav__items l-container"> 33 <div class="c-nav__items l-container">
34 <span class="c-nav__logo">$site.logo$</span> 34 <a class="c-nav__logo" href="/" title="$site.title$">$site.logo$</a>
35 $for(menus.main)$ 35 $for(menus.main)$
36 <a class="c-nav__item c-nav__item--$it.id$" href="$it.url$">$it.label$</a> 36 <a class="c-nav__item c-nav__item--$it.id$" href="$it.url$">$it.label$</a>
37 $endfor$ 37 $endfor$
38 </div> 38 </div>
39 </nav> 39 </nav>
40 40
41 <main class="l-container l-container--narrow l-container--pad-v"> 41 <main class="s-page l-container l-container--content l-container--pad-v">
42 <div class="s-page"> 42 <div class="s-page__content">
43 $if(isHome)$ 43 $if(isHome)$
44 <header class="c-page-header" role="presentation"> 44 <header class="c-page-header" role="presentation">
45${pageHeader()} 45${pageHeader()}
@@ -56,7 +56,7 @@ ${pageHeaderSm()}
56 </template> 56 </template>
57 57
58 <script> 58 <script>
59 var headerEl = document.querySelector(".s-page > header"); 59 var headerEl = document.querySelector(".c-page-header");
60 var headerTemplateEl = document.getElementById("header-sm"); 60 var headerTemplateEl = document.getElementById("header-sm");
61 var headerSmEl = headerTemplateEl.content.cloneNode("true"); 61 var headerSmEl = headerTemplateEl.content.cloneNode("true");
62 62