diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-25 21:54:44 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-25 21:54:44 +0200 |
commit | a3854f2a3488b0724b938e8ea8cd96bc16517ba5 (patch) | |
tree | 6781918b77fb6e7d78767dc50ff9431a3a11ca72 /src/themes/serene/templates/home.html | |
parent | fix(package.nix): Patch the pdf files into the final artefact (diff) | |
download | b-peetz.de-a3854f2a3488b0724b938e8ea8cd96bc16517ba5.zip |
fix(src/themes/serene/templates): Mark all permalinks as safe
Diffstat (limited to 'src/themes/serene/templates/home.html')
-rw-r--r-- | src/themes/serene/templates/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/serene/templates/home.html b/src/themes/serene/templates/home.html index 6f4c3ac..f899884 100644 --- a/src/themes/serene/templates/home.html +++ b/src/themes/serene/templates/home.html @@ -89,7 +89,7 @@ <section class="layout-list"> <div class="post-list"> {% for post in blog_section.pages | slice(end=section.extra.recent_max) %} - <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink }}"> + <a class="post instant {% if post.extra.featured %}featured{% endif %}" href="{{ post.permalink | safe }}"> <span>{{ post.title }}</span> <span class="line"></span> <span class="date">{{ post.date | date(format=section.extra.date_format) }}</span> |