From f3b2705e8cdd3bf3749816e09a5641aa3451e99f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 28 Apr 2021 06:53:58 +0200 Subject: Added preload directives, load SVG symbols from external file --- content/symbols.svg | 73 ++++++++++++++++++++++++++++++++++++++++++++ templates/base.html | 15 +++++---- templates/layouts/index.html | 10 +++--- templates/symbols.svg | 73 -------------------------------------------- 4 files changed, 87 insertions(+), 84 deletions(-) create mode 100644 content/symbols.svg delete mode 100644 templates/symbols.svg diff --git a/content/symbols.svg b/content/symbols.svg new file mode 100644 index 0000000..acc7f4f --- /dev/null +++ b/content/symbols.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ $if(section.is_index)$$else$$title$ – $endif$$site.title$ + + + + + + + @@ -36,7 +43,7 @@ - + @@ -70,16 +77,12 @@ ${layouts/page()} - + - - diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 1099d27..18b1c69 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -24,7 +24,7 @@ $endif$ $if(it.icon)$ - + $endif$
@@ -33,7 +33,7 @@
$if(it.url)$ - + $endif$ $if(it.url)$ @@ -55,7 +55,7 @@ $body$ - + @@ -73,7 +73,7 @@ $body$
$if(it.category.icon)$ - + $endif$
@@ -81,7 +81,7 @@ $body$ $it.title$
- +
diff --git a/templates/symbols.svg b/templates/symbols.svg deleted file mode 100644 index acc7f4f..0000000 --- a/templates/symbols.svg +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3-70-g09d2