mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-08 05:26:00 +02:00
layouts: Use Markdown filter on titles
This makes it possible to have Black Friday config options like quote style also affect post titles.
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
<h4>{{ i18n "recentPosts" }}</h4>
|
||||
<ol class="list-unstyled">
|
||||
{{ range first $num_recent_posts (where .Site.Pages "Type" "post") }}
|
||||
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
|
||||
<li><a href="{{.RelPermalink}}">{{.Title | markdownify }}</a></li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user