diff options
author | Alan Pearce | 2023-06-23 14:01:14 +0200 |
---|---|---|
committer | Alan Pearce | 2023-06-23 14:04:53 +0200 |
commit | 805b34faf0bbdaf135e16072b8dd9153a24368ad (patch) | |
tree | e4fe3dfe9c77cb653d03170d6e5f137fcdb96a81 /themes/bear/templates/section.html | |
parent | fe119b75f2b3f8f3ba8c2367c3ec768538edc695 (diff) | |
download | website-805b34faf0bbdaf135e16072b8dd9153a24368ad.tar.lz website-805b34faf0bbdaf135e16072b8dd9153a24368ad.tar.zst website-805b34faf0bbdaf135e16072b8dd9153a24368ad.zip |
Fix overzealous URL encoding
Diffstat (limited to 'themes/bear/templates/section.html')
-rw-r--r-- | themes/bear/templates/section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/bear/templates/section.html b/themes/bear/templates/section.html index f7567f2..c7f80de 100644 --- a/themes/bear/templates/section.html +++ b/themes/bear/templates/section.html @@ -16,7 +16,7 @@ {{ page.date | date(format=config.extra.date_format) }} </time> </span> - <a href="{{ page.permalink }}">{{ page.title }}</a> + <a href="{{ page.path | urlencode | safe }}">{{ page.title }}</a> </li> {% else %} <li> @@ -28,7 +28,7 @@ <div> {% set tags = get_taxonomy(kind="tags") %} {% for post in tags.items %} - <a href="{{ post.permalink }}">#{{ post.name }}</a> + <a href="{{ post.path | urlencode | safe }}">#{{ post.name }}</a> {% endfor %} </div> </small> |