π {{ string .Blog.Lang "pinned" }}
{{ end }} - {{ if .Data.Title }} + {{ if .Data.RenderedTitle }}- {{ mdtitle .Data.Title }} + {{ .Data.RenderedTitle }}
{{ end }} diff --git a/templates/post.gohtml b/templates/post.gohtml index f85cc88..c581dab 100644 --- a/templates/post.gohtml +++ b/templates/post.gohtml @@ -1,5 +1,5 @@ {{ define "title" }} -{{ mdtitle . }}
{{ end }} + {{ with .Data.RenderedTitle }}{{ . }}
{{ end }} {{ include "postmeta" . }} {{ include "postactions" . }} {{ if .Data.Content }} diff --git a/templates/postactions.gohtml b/templates/postactions.gohtml index 12ec425..dd3531d 100644 --- a/templates/postactions.gohtml +++ b/templates/postactions.gohtml @@ -1,6 +1,6 @@ {{ define "postactions" }}π {{ string .Blog.Lang "pinned" }}
{{ end }} - {{ if .Data.Title }} + {{ if .Data.RenderedTitle }}