diff options
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r-- | layouts/posts/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 85e02e11..240b0d51 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,4 +1,4 @@ -{{- define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end -}} +{{- define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end -}} {{- define "content" -}} {{- $params := .Scratch.Get "params" -}} @@ -61,7 +61,7 @@ {{- /* Featured image */ -}} {{- with $params.featuredimage -}} <div class="featured-image"> - {{- partial "plugin/image.html" (dict "src" . "alt" $.Description "large" true) -}} + {{- dict "src" . "alt" $.Description "large" true | partial "plugin/image.html" -}} </div> {{- end -}} |