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:
Anthony Fok
2015-12-19 06:15:08 -07:00
parent e1af7cb9d0
commit f24ffc9c3d
3 changed files with 3 additions and 3 deletions

View File

@@ -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 }}