aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/post-meta.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html
index c56a528..527431a 100644
--- a/layouts/partials/docs/post-meta.html
+++ b/layouts/partials/docs/post-meta.html
@@ -11,3 +11,13 @@
</div>
{{ end }}
{{ end }}
+
+<p>
+{{ if .Params.image}}
+ {{ with .Resources.GetMatch .Params.image }}
+ <img src={{ .RelPermalink }} />
+ {{ else }}
+ <img src={{ .Params.image | relURL }} />
+ {{ end }}
+{{ end }}
+</p>