diff --git a/archetypes/posts.md b/archetypes/posts.md index 3e44e17..42f56d7 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -13,4 +13,7 @@ resources: src: "" params: description: "" + attribution: + name: "" + link: "" --- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0c43b52..014eac2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,6 +18,13 @@ {{ . }} + {{ with .Params.attribution -}} + Picture by  + {{- with .link }}{{ end -}} + {{- .name -}} + {{- with .link }}{{ end -}} + + {{- end }} {{- end }} {{ if .Params.toc -}}

Contents