mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Docs: Allow HTML in Showcase titles
This allows, for example, marking with the lang attribute so that the correct CJK glyph variants are displayed.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="thumbnail">
|
||||
<a href="{{ .Params.sitelink }}"><img class="img-responsive img-rounded" style="width:100%;" src="{{ .Params.thumbnail }}" alt="{{ .Description }}"></a>
|
||||
<h4>
|
||||
<a href="{{ .Params.sitelink }}">{{ .Title }}</a>
|
||||
<a href="{{ .Params.sitelink }}">{{ .Title | safeHTML }}</a>
|
||||
{{ if (isset .Params "sourcelink") }}
|
||||
<a href="{{ .Params.sourcelink }}" class="small pull-right">source</a>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user