diff options
author | Volpeon <git@volpeon.ink> | 2021-01-02 16:47:15 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-01-02 16:47:15 +0100 |
commit | 14375c5289e84690cacd0ec9b511cefef088f0a5 (patch) | |
tree | 6465075e5255be2851a7678d1a629ed23cd810b3 /templates | |
parent | Small design revisions (diff) | |
download | volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.gz volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.tar.bz2 volpeon.ink-14375c5289e84690cacd0ec9b511cefef088f0a5.zip |
Use Pygments for syntax highlighting, design adjustments, preload fonts
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 9 | ||||
-rw-r--r-- | templates/partials/pageHeader.html | 2 | ||||
-rw-r--r-- | templates/partials/pageHeaderSm.html | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 225ef3f..18d65c8 100644 --- a/templates/base.html +++ b/templates/base.html | |||
@@ -5,7 +5,9 @@ | |||
5 | <meta charset="utf-8" /> | 5 | <meta charset="utf-8" /> |
6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> | 6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | <meta name="robots" content="noindex" /> | 7 | <meta name="robots" content="noindex" /> |
8 | |||
8 | <link rel="shortcut icon" href="/favicon.ico" /> | 9 | <link rel="shortcut icon" href="/favicon.ico" /> |
10 | |||
9 | $for(author)$ | 11 | $for(author)$ |
10 | <meta name="author" content="$it.name$$if(it.email)$ <$it.email$>$endif$" /> | 12 | <meta name="author" content="$it.name$$if(it.email)$ <$it.email$>$endif$" /> |
11 | $endfor$ | 13 | $endfor$ |
@@ -15,10 +17,17 @@ | |||
15 | $if(keywords)$ | 17 | $if(keywords)$ |
16 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | 18 | <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> |
17 | $endif$ | 19 | $endif$ |
20 | |||
18 | $for(feeds)$ | 21 | $for(feeds)$ |
19 | <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" /> | 22 | <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" /> |
20 | $endfor$ | 23 | $endfor$ |
24 | |||
21 | <title>$if(is_home)$$else$$title$ – $endif$$site.title$</title> | 25 | <title>$if(is_home)$$else$$title$ – $endif$$site.title$</title> |
26 | |||
27 | <link rel="preload" href="/style.css" as="style" /> | ||
28 | <link rel="preload" href="/iosevka-term-ss09-regular.woff2" as="font" type="font/woff2" crossorigin /> | ||
29 | <link rel="preload" href="/iosevka-term-ss09-bold.woff2" as="font" type="font/woff2" crossorigin /> | ||
30 | |||
22 | <link rel="stylesheet" href="/style.css" /> | 31 | <link rel="stylesheet" href="/style.css" /> |
23 | $if(section.id)$ | 32 | $if(section.id)$ |
24 | <style> | 33 | <style> |
diff --git a/templates/partials/pageHeader.html b/templates/partials/pageHeader.html index b44f394..95e55f7 100644 --- a/templates/partials/pageHeader.html +++ b/templates/partials/pageHeader.html | |||
@@ -7,7 +7,7 @@ $-- '| \__,~"´ /:) / |:\ \ ,~( ) . | | ) `, ' | |||
7 | $-- ___\___.___:____(:/\_-,______\:.\_-,____.__\_.\______.__:___\__.___)_.___,/_____ | 7 | $-- ___\___.___:____(:/\_-,______\:.\_-,____.__\_.\______.__:___\__.___)_.___,/_____ |
8 | $-- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | 8 | $-- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ |
9 | 9 | ||
10 | <pre class="c-page__prefixed c-page__prefixed--pre u-mt0 u-hidden@sm-down"> | 10 | <pre class="c-page-header__pre c-page__prefixed c-page__prefixed--pre u-mt0 u-hidden@sm-down"> |
11 | ' | ' ' ' ' ' | | | ' ' | 11 | ' | ' ' ' ' ' | | | ' ' |
12 | | ' ' ' <strong>//\_</strong> ' | ' . | ' ' | 12 | | ' ' ' <strong>//\_</strong> ' | ' . | ' ' |
13 | .| ' <strong>____,...,______..,_~`` -`..,</strong> ' | ' | ' ' | 13 | .| ' <strong>____,...,______..,_~`` -`..,</strong> ' | ' | ' ' |
diff --git a/templates/partials/pageHeaderSm.html b/templates/partials/pageHeaderSm.html index 4db186c..4255de0 100644 --- a/templates/partials/pageHeaderSm.html +++ b/templates/partials/pageHeaderSm.html | |||
@@ -3,7 +3,7 @@ $-- | _.~-"""-----~`` ,-´ ' ' |' | ' ' | |||
3 | $-- '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' | 3 | $-- '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' |
4 | $-- |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ | 4 | $-- |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ |
5 | 5 | ||
6 | <pre class="c-page__prefixed c-page__prefixed--pre u-mt0 $if(is_home)$u-hidden@sm-up$endif$"> | 6 | <pre class="c-page-header__pre c-page__prefixed c-page__prefixed--pre u-mt0 $if(is_home)$u-hidden@sm-up$endif$"> |
7 | .| <strong> //\__</strong> ' .' | . | ' . ' | 7 | .| <strong> //\__</strong> ' .' | . | ' . ' |
8 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' | 8 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' |
9 | '| <strong>.´ ,~'\ ).,__,)/,," </strong> ' . ' | | | ' .' | 9 | '| <strong>.´ ,~'\ ).,__,)/,," </strong> ' . ' | | | ' .' |