diff --git a/_template/article.tmpl b/_template/article.tmpl index 2bb3b7b4..48c74981 100644 --- a/_template/article.tmpl +++ b/_template/article.tmpl @@ -2,6 +2,7 @@ {{define "title"}}{{.Doc.Title}} - The Go Blog{{end}} {{define "content"}} + {{template "doc" .Doc}} {{with .Doc.Related}}

Related articles

diff --git a/_template/root.tmpl b/_template/root.tmpl index 6000c1a1..06706173 100644 --- a/_template/root.tmpl +++ b/_template/root.tmpl @@ -79,6 +79,10 @@ #content .title { margin: 20px 0; } + .IsArticle + .article .title a { + color: #000; + pointer-events: none; + } #content img { max-width: 100%; }