diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-07 00:00:43 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-07 00:01:14 +0200 |
| commit | 1b320c5b479b7420f142788a7a6f7b88e54aaf3b (patch) | |
| tree | cbc44b620c43ff47abac3b966a0113001d9b41ac /templates | |
| parent | aef05617b7c0634e896a0f686ef90bbd6a06fd39 (diff) | |
| download | reploy-1b320c5b479b7420f142788a7a6f7b88e54aaf3b.tar.gz reploy-1b320c5b479b7420f142788a7a6f7b88e54aaf3b.tar.bz2 | |
template work
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/default.html | 2 | ||||
| -rw-r--r-- | templates/footer.html | 12 | ||||
| -rw-r--r-- | templates/head.html | 4 | ||||
| -rw-r--r-- | templates/header.html | 18 | ||||
| -rw-r--r-- | templates/tag.html | 2 |
5 files changed, 38 insertions, 0 deletions
diff --git a/templates/default.html b/templates/default.html index 214229e..2bb48e5 100644 --- a/templates/default.html +++ b/templates/default.html @@ -1,6 +1,8 @@ <html> {{> head.html}} <body> +{{> header.html}} {{{body}}} +{{> footer.html}} </body> </html> diff --git a/templates/footer.html b/templates/footer.html new file mode 100644 index 0000000..d8c36b0 --- /dev/null +++ b/templates/footer.html @@ -0,0 +1,12 @@ +<div class="footer-box"> + <div class="bar-fill"></div> + <div class="footer-r3"></div> + <div class="footer-lcsb"></div> + <div class="footer-text"> + <div>Share this page: <a href="#">...</a></div> + <div>The contents are available under the <a href="#">Creative Commons Attribution-ShareAlike License (CC-BY-SA 4.0)</a>.</div> + <div><a href="#">Privacy Policy</a> (Only necessary cookies accepted — <a href="#">change</a>)</div> + </div> + <div class="bar-fill"></div> +<div> +</div> diff --git a/templates/head.html b/templates/head.html index c267616..78dc9f2 100644 --- a/templates/head.html +++ b/templates/head.html @@ -6,4 +6,8 @@ All cards {{#htag}} » {{tag}}{{/htag}} {{/htag}} </title> + <link rel="preconnect" href="https://fonts.googleapis.com"> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> + <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Roboto:ital,wght@0,100;0,400;0,700;1,100;1,700&display=swap" rel="stylesheet"> + <link rel="stylesheet" href="{{root}}/style.css" /> </head> diff --git a/templates/header.html b/templates/header.html new file mode 100644 index 0000000..7482894 --- /dev/null +++ b/templates/header.html @@ -0,0 +1,18 @@ +<div class="layout-topbar"> + <div class="bar-fill topbar-borderbottom"></div> + <div class="width-content same-height"> + <div class="topbar-lcsb topbar-borderbottom"> + <div class="logo-lcsb"></div> + </div> + <div class="topbar-text topbar-borderbottom"> + <div class="header-title">LCSB How-To Cards</div> + <div class="header-subtitle">Practical and handy reference</div> + </div> + <div class="bar-fill topbar-borderbottom"></div> + <div class="topbar-unilu topbar-borderbottom"> + <div class="logo-unilu"></div> + </div> + </div> + <div class="bar-fill topbar-borderbottom"></div> +</div> +<div class="width-content margin-center"> diff --git a/templates/tag.html b/templates/tag.html index ccb3e84..c991ff9 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -2,6 +2,7 @@ <html> {{> head.html}} <body> +{{> header.html}} <h1> {{?htag}} Category: @@ -29,5 +30,6 @@ {{/pages}} </ul> {{/pages}} +{{> footer.html}} </body> </html> |
