feat: render markdown in page titles & descriptions (#486)

Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
stalkerGH 2025-02-15 14:33:37 +01:00 committed by GitHub
parent a5ab6259c6
commit 6837f6f4f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -38,10 +38,10 @@
{% endif %}
<div class="card-info">
<h2 class="card-title">{{ page.title }}</h2>
<h2 class="card-title">{{ page.title | markdown(inline=true) | safe }}</h2>
<div class="card-description">
{% if page.description %}
{{ page.description }}
{{ page.description | markdown(inline=true) | safe }}
{% endif %}
</div>
</div>