From f24ffc9c3df30c991b5df6fa0c973d77679bfee5 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Sat, 19 Dec 2015 06:15:08 -0700 Subject: [PATCH] Docs: Allow HTML in Showcase titles This allows, for example, marking with the lang attribute so that the correct CJK glyph variants are displayed. --- docs/content/showcase/chingli.md | 2 +- docs/content/showcase/yulinling.net.md | 2 +- docs/layouts/showcase/thumbnail.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/showcase/chingli.md b/docs/content/showcase/chingli.md index 4540952c2..db495fbe2 100644 --- a/docs/content/showcase/chingli.md +++ b/docs/content/showcase/chingli.md @@ -6,6 +6,6 @@ tags: - personal - blog thumbnail: /img/chingli-tn.jpg -title: 青砾 (chingli) +title: 青砾 (chingli) --- diff --git a/docs/content/showcase/yulinling.net.md b/docs/content/showcase/yulinling.net.md index 27d737ebe..2318c4f77 100644 --- a/docs/content/showcase/yulinling.net.md +++ b/docs/content/showcase/yulinling.net.md @@ -9,5 +9,5 @@ tags: - blog - documentation thumbnail: /img/yulinling-tn.jpg -title: 语林灵 (Yulinling) +title: 语林灵 (Yulinling) --- diff --git a/docs/layouts/showcase/thumbnail.html b/docs/layouts/showcase/thumbnail.html index a0f7f8117..5c36e5d2f 100644 --- a/docs/layouts/showcase/thumbnail.html +++ b/docs/layouts/showcase/thumbnail.html @@ -4,7 +4,7 @@
{{ .Description }}

- {{ .Title }} + {{ .Title | safeHTML }} {{ if (isset .Params "sourcelink") }} source {{ end }}