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/base.html | |
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/base.html')
-rw-r--r-- | templates/base.html | 9 |
1 files changed, 9 insertions, 0 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> |