summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-26 09:52:34 +0100
committerVolpeon <git@volpeon.ink>2020-12-26 09:52:34 +0100
commit15147ca676f7f77697889b65721540f8b8a813ab (patch)
tree563902c127d644f0f58fd26a901794c585d9c993 /templates
parentImproved CSS definitions, more fine-grained content build script (diff)
downloadvolpeon.ink-15147ca676f7f77697889b65721540f8b8a813ab.tar.gz
volpeon.ink-15147ca676f7f77697889b65721540f8b8a813ab.tar.bz2
volpeon.ink-15147ca676f7f77697889b65721540f8b8a813ab.zip
Generate precompressed files, use variables for some nav-related values
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index d381984..cecb657 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -41,7 +41,7 @@
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" 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$
@@ -60,6 +60,7 @@ ${pageHeaderSm()}
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
63 headerEl.classList.remove("u-hidden@sm-down");
63 headerEl.appendChild(headerSmEl); 64 headerEl.appendChild(headerSmEl);
64 </script> 65 </script>
65 $endif$ 66 $endif$