summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-04-28 06:53:58 +0200
committerVolpeon <git@volpeon.ink>2021-04-28 06:53:58 +0200
commitf3b2705e8cdd3bf3749816e09a5641aa3451e99f (patch)
tree9238e8bcba581c8865d935dfd27ed33867f0648d /templates/base.html
parentFixed modular scale (diff)
downloadvolpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.tar.gz
volpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.tar.bz2
volpeon.ink-f3b2705e8cdd3bf3749816e09a5641aa3451e99f.zip
Added preload directives, load SVG symbols from external file
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 4ebd507..039b0d1 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,6 +28,13 @@
28 28
29 <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title> 29 <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title>
30 30
31 <link rel="preload" href="/style.css" as="style" />
32 <link rel="preload" href="/symbols.svg" as="other" type="image/svg+xml" />
33 <link rel="preload" href="/IBMPlexSans-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
34 <link rel="preload" href="/IBMPlexSans-Medium.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
35 <link rel="preload" href="/IBMPlexSans-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
36 <link rel="preload" href="/GaretVariable.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
37
31 <link rel="stylesheet" href="/style.css" /> 38 <link rel="stylesheet" href="/style.css" />
32</head> 39</head>
33 40
@@ -36,7 +43,7 @@
36 <a class="c-outer-button c-outer-button--inverted" href="/" title="$site.title$"> 43 <a class="c-outer-button c-outer-button--inverted" href="/" title="$site.title$">
37 <span class="c-outer-button__icon"> 44 <span class="c-outer-button__icon">
38 <svg class="c-outer-button__icon-symbol"> 45 <svg class="c-outer-button__icon-symbol">
39 <use href="#logo"></use> 46 <use href="/symbols.svg#logo"></use>
40 </svg> 47 </svg>
41 </span> 48 </span>
42 </a> 49 </a>
@@ -70,16 +77,12 @@ ${layouts/page()}
70 <a class="c-outer-button" href="#" title="To the top"> 77 <a class="c-outer-button" href="#" title="To the top">
71 <span class="c-outer-button__icon"> 78 <span class="c-outer-button__icon">
72 <svg class="c-outer-button__icon-symbol o-icon"> 79 <svg class="c-outer-button__icon-symbol o-icon">
73 <use href="#icon-arrow-up"></use> 80 <use href="/symbols.svg#icon-arrow-up"></use>
74 </svg> 81 </svg>
75 </span> 82 </span>
76 </a> 83 </a>
77 </footer> 84 </footer>
78 </main> 85 </main>
79
80 <div class="u-vh" aria-hidden="true">
81 ${symbols.svg()}
82 </div>
83</body> 86</body>
84 87
85</html> 88</html>