summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-10-28 10:29:25 +0300
committerYuval Adam <_@yuv.al>2022-10-28 10:29:25 +0300
commit3dd1b618de8e52565670e5ffe79ad1d82b1d9caf (patch)
treeb7fff27e1936556e92e459af1992ff07ccaff17a /templates
parentea6813d54a5381b07eb23220ccfbe6822646aead (diff)
Implement render link filter
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index b079769..0bacce0 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -29,9 +29,9 @@
<ul>
{% for name in names %}
- <li><a href="{{ name.url or 'https://' + name.domain }}" class="link blue b f3">{{ name.name }}</a>{% if
- name.title %}<span class="light-silver ml2">{{
- name.title }}</span>{% endif %}</li>
+ <li>{{ name|render_link("link blue")|safe }}{% if name.title %}<span class="light-silver ml2">{{ name.title
+ }}</span>{% endif %}
+ </li>
{% endfor %}
</ul>
<hr>