aboutsummaryrefslogtreecommitdiff
path: root/templates/header.html
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-07-19 20:36:50 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-07-19 20:39:41 +0200
commit614054a72e41af9e77964c01b7ab0da7dc5b27fb (patch)
tree888ab379d6852342d99f041fa5b09f4a5ece2d49 /templates/header.html
parent0e717b5dda55602aa3ef34991f9c7dd8762c678b (diff)
downloadreploy-614054a72e41af9e77964c01b7ab0da7dc5b27fb.tar.gz
reploy-614054a72e41af9e77964c01b7ab0da7dc5b27fb.tar.bz2
make the contents completely generic
Diffstat (limited to 'templates/header.html')
-rw-r--r--templates/header.html41
1 files changed, 17 insertions, 24 deletions
diff --git a/templates/header.html b/templates/header.html
index 9b6a0ea..8640fc6 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -1,26 +1,19 @@
<header>
- <div class="flex-sidefill-l topbar-borderbottom"></div>
- <div class="width-sidebox-counterweight topbar-borderbottom"></div>
- <div class="width-content same-height">
- <div class="topbar-padding topbar-borderbottom"></div>
- <div class="topbar-unilu topbar-borderbottom">
- <a href="{{root}}"><div class="logo-unilu"></div></a>
- </div>
- <div class="topbar-text topbar-borderbottom">
- <div class="header-title">LCSB How-To Cards</div>
- <div class="header-subtitle">The practical and handy reference</div>
- </div>
- <div class="flex-fill topbar-borderbottom"></div>
- <div class="topbar-lcsb topbar-borderbottom">
- <div class="logo-lcsb"></div>
- </div>
- <div class="topbar-padding topbar-borderbottom"></div>
- </div>
- <div class="width-sidebox-placeholder topbar-borderbottom"></div>
- <div class="flex-sidefill-r topbar-borderbottom"></div>
+ {{?htags}}
+ Categories:
+ <ul>
+ {{#htags}}
+ <li class="sidebox-tag">{{#.}}<a href="{{href}}">{{^tag}}all{{/tag}}{{?tag}} ยป {{tag}}{{/tag}}{{/.}}</a></li>
+ {{/htags}}
+ </ul>
+ {{/htags}}
+
+ {{?toc}}
+ Card outline:
+ {{{toc}}}
+ {{/toc}}
+
+ {{?timestamp}}
+ Last modification: {{timestamp}}
+ {{/timestamp}}
</header>
-<main>
- <div class="flex-sidefill-l"></div>
- <div class="content-holder">
- {{> sidebox.html}}
- <div class="content width-content">