aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRichard Mortier2025-06-01 18:21:52 +0100
committerGitHub2025-06-01 10:21:52 -0700
commitff93479daafb7b2f79e54f9d3638bcf5e60da82f (patch)
tree54e1b127dd0e7602db4c4be2f3fb542d74df449d /templates
parent17a7f29da7577bce5c7629beb8d109a922c97559 (diff)
downloadabridge-ff93479daafb7b2f79e54f9d3638bcf5e60da82f.tar.gz
abridge-ff93479daafb7b2f79e54f9d3638bcf5e60da82f.tar.bz2
abridge-ff93479daafb7b2f79e54f9d3638bcf5e60da82f.zip
process markdown in footer link text (#223)
Diffstat (limited to 'templates')
-rw-r--r--templates/macros/macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/macros/macros.html b/templates/macros/macros.html
index 6c7b85c..84ad119 100644
--- a/templates/macros/macros.html
+++ b/templates/macros/macros.html
@@ -180,12 +180,12 @@
<nav>
<div>
{%- if page.lower %}
- <a href="{{ page.lower.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">&#8249; {{ page.lower.title | truncate(length=100) }}</a>
+ <a href="{{ page.lower.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">&#8249; {{ page.lower.title | truncate(length=100) | markdown(inline=true) | safe }}</a>
{%- endif %}
</div>
<div>
{%- if page.higher %}
- <a href="{{ page.higher.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"> {{ page.higher.title | truncate(length=100) }} &#8250;</a>
+ <a href="{{ page.higher.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"> {{ page.higher.title | truncate(length=100) | markdown(inline=true) | safe }} &#8250;</a>
{%- endif %}
</div>
</nav>