aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2022-11-05 22:33:40 +0300
committerValentin Popov <valentin@popov.link>2022-11-05 22:33:40 +0300
commit5b0ad5425def9b03a96808a444edd3023980275e (patch)
tree1e7cdd123ed7678ba2f7c1105a5a3262b2c86d89 /templates
parentc7ce47b89d25995fe53148c00ddd2fa3c0020336 (diff)
downloadpopov.link-5b0ad5425def9b03a96808a444edd3023980275e.tar.xz
popov.link-5b0ad5425def9b03a96808a444edd3023980275e.zip
Added useful links
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 05e0e78..cf822e1 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -19,6 +19,20 @@
</section>
<section>
+ <h2>Useful links</h2>
+
+ <ul>
+ {% for link in config.extra.links %}
+ <li>
+ <a href="{{ link.url | safe }}" rel="nofollow" target="_blank">{{ link.title | safe }}</a>
+ <span>&mdash;</span>
+ <span>{{ link.description | safe }}</span>
+ </li>
+ {% endfor %}
+ </ul>
+</section>
+
+<section>
{% set blog = get_section(path='blog/_index.md') %}
<h2>Recent posts</h2>