From e658235991d6e6e8d1b5201722054cb1f0d6c3fb Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Thu, 30 Aug 2018 09:24:07 -0500 Subject: markdownify post titles since some people use backticks in post titles, and MathJax will treat content in backticks as inline math e.g. @jystatistics: https://jystatistics.rbind.io/post/2018/06/28/study-ggplot2/ @tcgriffith: https://tc.rbind.io/post/2018/01/25/apply-and-do-call/ --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0fb2f8b..de3f121 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ partial "header.html" . }}
-

{{ .Title }}

+

{{ .Title | markdownify }}

{{ with .Params.author }}

{{ . }}

{{ end }} {{ if (gt .Params.date 0) }}

{{ .Date.Format "2006/01/02" }}

{{ end }}
-- cgit 1.4.1