diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-07 14:14:41 +0200 |
commit | a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc (patch) | |
tree | 3420ab92e02e3b1e2994be7198a83c667118ffe1 /templates/shortcodes | |
parent | 043710894c648f91a3c9acd11800d67f3b872670 (diff) | |
download | rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.gz rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.tar.bz2 rabalderz-a19d98ce7e590e6c7f82aa08f7e9791a72e2e8bc.zip |
Split english and norwegian posts.
This turned out a bit different than I initially though. The english and
norwegian sections will essentially be separate. Afaict there's no
direct way to make a "combined view" listing both english and norwegian
posts. However, I think that's fine. Let's roll with this for now.
Diffstat (limited to 'templates/shortcodes')
-rw-r--r-- | templates/shortcodes/taglink.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/shortcodes/taglink.html b/templates/shortcodes/taglink.html index 6e8642e..75e1fc9 100644 --- a/templates/shortcodes/taglink.html +++ b/templates/shortcodes/taglink.html @@ -1,2 +1,4 @@ {% set tag_url = get_taxonomy_url(kind="tags", name=tag) %} -<a href="{{ tag_url | safe }}" class="taglink">{% if name %}{{ name }}{% else %}{{ tag }}{% endif %}</a> +<a href="{{ tag_url | safe }}" class="taglink"> + {% if name %}{{ name }}{% else %}{{ tag }}{% endif %} +</a> |