diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e9cea46..1801990 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,5 @@ {{ define "main" -}} +

{{ .Title }}

{{ with .Params.tagline }}{{ . }}{{ end }} @@ -13,11 +14,21 @@ {{ .Content }}
+ {{ $Site := .Site }} + {{ with .Params.elements }} + {{ range . }} + {{ partial . ( dict "Site" $Site ) }} + {{ end }} + {{ end }} + + {{ partial "tags.html" . }} + {{/* {{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}} {{ partial "share.html" . }} {{- end }} + */}} {{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
diff --git a/layouts/home.html b/layouts/home.html index cab91f8..580947c 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -23,9 +23,11 @@ {{ partial "tags.html" . }} + {{/* {{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}} {{ partial "share.html" . }} {{- end }} + */}} {{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}