aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-09-08 01:08:44 +0300
committerYaroslav <contact@yaroslavps.com>2020-09-08 01:08:44 +0300
commit358c7b06be5ac06de4cc10c85093ffac8044458a (patch)
tree2ffe8b510a166e54698b6f23b629a1589b1d9413 /templates
parent12503fd8211bbdf07d5211ad49645bfd0fef8a3e (diff)
downloadyaroslavps.com-358c7b06be5ac06de4cc10c85093ffac8044458a.tar.gz
yaroslavps.com-358c7b06be5ac06de4cc10c85093ffac8044458a.zip
Getting rid of le bloat
From ~1.3MB on the weblog index to just < 200KB!
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html12
-rw-r--r--templates/index.html12
2 files changed, 18 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 824f129..c64b27d 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -45,9 +45,15 @@
{% endif %}
{% endblock %}
<div class="links-container">
- <a href="https://github.com/Yaroslav-95" title="GitHub"><span class="icon"></span></a>
- <a href="https://git.yaroslavps.com/yaroslav" title="Git server"><span class="icon"></span></a>
- <a href="/feed.xml" title="RSS feed"><span class="icon"></span></a>
+ <a href="https://github.com/Yaroslav-95" title="GitHub">
+ <span class="icon"><img src="/svg/icons/github.svg"/></span>
+ </a>
+ <a href="https://git.yaroslavps.com/yaroslav" title="Git server">
+ <span class="icon"><img src="/svg/icons/git.svg"/></span>
+ </a>
+ <a href="/feed.xml" title="RSS feed">
+ <span class="icon"><img src="/svg/icons/rss.svg"/></span>
+ </a>
</div>
<h3>Navigation</h3>
<ul class="navigation-list">
diff --git a/templates/index.html b/templates/index.html
index f0ede2a..a9ef8c2 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -7,9 +7,15 @@
<a href="/food">Recipe book</a>
</div>
<div class="links-container">
- <a href="https://github.com/Yaroslav-95" title="GitHub"><span class="icon"></span></a>
- <a href="https://git.yaroslavps.com/yaroslav" title="Git server"><span class="icon"></span></a>
- <a href="/feed.xml" title="RSS feed"><span class="icon"></span></a>
+ <a href="https://github.com/Yaroslav-95" title="GitHub">
+ <span class="icon"><img src="/svg/icons/github.svg"/></span>
+ </a>
+ <a href="https://git.yaroslavps.com/yaroslav" title="Git server">
+ <span class="icon"><img src="/svg/icons/git.svg"/></span>
+ </a>
+ <a href="/feed.xml" title="RSS feed">
+ <span class="icon"><img src="/svg/icons/rss.svg"/></span>
+ </a>
</div>
<p>Welcome, my name is Yaroslav de la Peña Smirnov. I keep this site to
sometimes write about what I do or think on my weblog, or to remind myself