diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-27 22:46:46 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-27 22:46:46 +0100 |
| commit | e3a86169d6aaca14e96ecf7c349ec6f7c59b3ad3 (patch) | |
| tree | 069c9271e3b0f9dd6fdfd9dc91b3a66d2a1453ed /templates | |
| parent | Added stylelint, generate some metadata automatically (diff) | |
| download | volpeon.ink-e3a86169d6aaca14e96ecf7c349ec6f7c59b3ad3.tar.gz volpeon.ink-e3a86169d6aaca14e96ecf7c349ec6f7c59b3ad3.tar.bz2 volpeon.ink-e3a86169d6aaca14e96ecf7c349ec6f7c59b3ad3.zip | |
Completed automatic metadata generation
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 18 | ||||
| -rw-r--r-- | templates/pageHeaderSm.html | 2 |
2 files changed, 16 insertions, 4 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> |
diff --git a/templates/pageHeaderSm.html b/templates/pageHeaderSm.html index 6092f30..f9e31ce 100644 --- a/templates/pageHeaderSm.html +++ b/templates/pageHeaderSm.html | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' | 4 | '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' |
| 5 | |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ | 5 | |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ |
| 6 | --> | 6 | --> |
| 7 | <pre class="$if(isHome)$u-hidden@sm-up$endif$"> | 7 | <pre class="$if(ishome)$u-hidden@sm-up$endif$"> |
| 8 | .| <strong> //\__</strong> ' .' | . | ' . ' | 8 | .| <strong> //\__</strong> ' .' | . | ' . ' |
| 9 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' | 9 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' |
| 10 | '| <strong>.´ ,~'\ ).,__,)/,," </strong> ' . ' | | | ' .' | 10 | '| <strong>.´ ,~'\ ).,__,)/,," </strong> ' . ' | | | ' .' |
