diff options
| author | Richard Mortier | 2025-04-06 03:01:31 +0200 |
|---|---|---|
| committer | GitHub | 2025-04-05 18:01:31 -0700 |
| commit | b8eed1ec176073bbbcd12392da3244971ceb51b0 (patch) | |
| tree | b201488c3869b95ab05b699b29f61faba0d30eab /templates/index.html | |
| parent | 2aa5a83686880e947a6614a42f93550d96b1f87f (diff) | |
| download | abridge-b8eed1ec176073bbbcd12392da3244971ceb51b0.tar.gz abridge-b8eed1ec176073bbbcd12392da3244971ceb51b0.tar.bz2 abridge-b8eed1ec176073bbbcd12392da3244971ceb51b0.zip | |
process markdown in titles and subtitles in index and recents (#217)
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 2c9fdfb..c2f1c40 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,9 +46,9 @@ This Template can also be used directly for the index eg: example.com/ or as the {%- if page.summary %} {{ page.summary | markdown(inline=true) | safe }} {%- elif page.description %} - {{ page.description | safe }} + {{ page.description | markdown(inline=true) | safe }} {%- elif page.content %} - {{ page.content | striptags | truncate(length=150) | safe }} + {{ page.content | striptags | truncate(length=150) | markdown(inline=true) | safe }} {%- elif page.extra.static_thumbnail %} {%- endif %} <a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"> |
