diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-28 09:57:02 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-28 09:57:02 +0100 |
| commit | 4631bf9fee31289d30d211d59b77b579303d55f6 (patch) | |
| tree | f33e5eb4713280d3c1b5e73e996a08fddab5e9a3 /templates | |
| parent | Completed automatic metadata generation (diff) | |
| download | volpeon.ink-4631bf9fee31289d30d211d59b77b579303d55f6.tar.gz volpeon.ink-4631bf9fee31289d30d211d59b77b579303d55f6.tar.bz2 volpeon.ink-4631bf9fee31289d30d211d59b77b579303d55f6.zip | |
Various small fixes, exclude raw ASCII fox from output
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 12 | ||||
| -rw-r--r-- | templates/pageHeader.html | 19 | ||||
| -rw-r--r-- | templates/pageHeaderSm.html | 11 | ||||
| -rw-r--r-- | templates/pagelistByYear.html | 12 |
4 files changed, 28 insertions, 26 deletions
diff --git a/templates/base.html b/templates/base.html index 21ea9a4..8d10d13 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -46,18 +46,10 @@ ${pageHeader()} | |||
| 46 | </header> | 46 | </header> |
| 47 | $endif$ | 47 | $endif$ |
| 48 | 48 | ||
| 49 | $body$ | 49 | $body$ |
| 50 | 50 | ||
| 51 | $if(isblog)$ | 51 | $if(isblog)$ |
| 52 | $if(pages)$ | 52 | ${pagelistByYear()} |
| 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$ | 53 | $endif$ |
| 62 | </div> | 54 | </div> |
| 63 | </main> | 55 | </main> |
diff --git a/templates/pageHeader.html b/templates/pageHeader.html index 0521c88..40ee251 100644 --- a/templates/pageHeader.html +++ b/templates/pageHeader.html | |||
| @@ -1,13 +1,12 @@ | |||
| 1 | <!-- | 1 | $-- ' | ' ' ' ' ' | | | ' ' |
| 2 | ' | ' ' ' ' ' | | | ' ' | 2 | $-- | ' ' ' //\_ ' | ' . | ' ' |
| 3 | | ' ' ' //\_ ' | ' . | ' ' | 3 | $-- .| ' ____,...,______..,_~`` -`.., ' | ' | ' ' |
| 4 | .| ' ____,...,______..,_~`` -`.., ' | ' | ' ' | 4 | $-- | _,~´"' , . ,~--´ ' _| | . |~~.__ ' ' |
| 5 | | _,~´"' , . ,~--´ ' _| | . |~~.__ ' ' | 5 | $-- | | ,-" _.-|~/ |..,____,) ,/,,"' '_( | ' |) ) ' ' |
| 6 | | | ,-" _.-|~/ |..,____,) ,/,,"' '_( | ' |) ) ' ' | 6 | $-- '| \__,~"´ /:) / |:\ \ ,~( ) . | | ) `, ' _,--. |
| 7 | '| \__,~"´ /:) / |:\ \ ,~( ) . | | ) `, ' _,--. | 7 | $-- ___\___.___:____(:/\_-,______\:.\_-,____.__\_.\______.__:___\__.___)_.___,/_____ |
| 8 | ___\___.___:____(:/\_-,______\:.\_-,____.__\_.\______.__:___\__.___)_.___,/_____ | 8 | $-- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
| 9 | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 9 | |
| 10 | --> | ||
| 11 | <pre class="u-hidden@sm-down"> | 10 | <pre class="u-hidden@sm-down"> |
| 12 | ' | ' ' ' ' ' | | | ' ' | 11 | ' | ' ' ' ' ' | | | ' ' |
| 13 | | ' ' ' <strong>//\_</strong> ' | ' . | ' ' | 12 | | ' ' ' <strong>//\_</strong> ' | ' . | ' ' |
diff --git a/templates/pageHeaderSm.html b/templates/pageHeaderSm.html index f9e31ce..c480773 100644 --- a/templates/pageHeaderSm.html +++ b/templates/pageHeaderSm.html | |||
| @@ -1,9 +1,8 @@ | |||
| 1 | <!-- | 1 | $-- .| //\__ ' .' | . | ' . ' |
| 2 | .| //\__ ' .' | . | ' . ' | 2 | $-- | _.~-"""-----~`` ,-´ ' ' |' | ' ' |
| 3 | | _.~-"""-----~`` ,-´ ' ' |' | ' ' | 3 | $-- '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' |
| 4 | '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' | 4 | $-- |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ |
| 5 | |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ | 5 | |
| 6 | --> | ||
| 7 | <pre class="$if(ishome)$u-hidden@sm-up$endif$"> | 6 | <pre class="$if(ishome)$u-hidden@sm-up$endif$"> |
| 8 | .| <strong> //\__</strong> ' .' | . | ' . ' | 7 | .| <strong> //\__</strong> ' .' | . | ' . ' |
| 9 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' | 8 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' |
diff --git a/templates/pagelistByYear.html b/templates/pagelistByYear.html new file mode 100644 index 0000000..8270530 --- /dev/null +++ b/templates/pagelistByYear.html | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | $for(pages)$ | ||
| 2 | $for(it.by_year/pairs)$ | ||
| 3 | <h2>$it.key$</h2> | ||
| 4 | <ul class="c-refs"> | ||
| 5 | $for(it.value)$ | ||
| 6 | <li class="c-refs__item"> | ||
| 7 | <a href="$it.url_rel$">$it.date$ - $it.title$</a> | ||
| 8 | </li> | ||
| 9 | $endfor$ | ||
| 10 | </ul> | ||
| 11 | $endfor$ | ||
| 12 | $endfor$ | ||
