mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05: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:
parent
e1af7cb9d0
commit
f24ffc9c3d
3 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,6 @@ tags:
|
|||
- personal
|
||||
- blog
|
||||
thumbnail: /img/chingli-tn.jpg
|
||||
title: 青砾 (chingli)
|
||||
title: <span lang="zh-CN">青砾</span> (chingli)
|
||||
---
|
||||
|
||||
|
|
|
@ -9,5 +9,5 @@ tags:
|
|||
- blog
|
||||
- documentation
|
||||
thumbnail: /img/yulinling-tn.jpg
|
||||
title: 语林灵 (Yulinling)
|
||||
title: <span lang="zh-CN">语林灵</span> (Yulinling)
|
||||
---
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue