From 60fe49ea3af38d4a7d5e8de1cdb72887b167b22d Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Sat, 11 Jul 2020 22:35:14 +0200 Subject: Moving from jekyll to hugo --- themes/ananke/layouts/post/summary-with-image.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 themes/ananke/layouts/post/summary-with-image.html (limited to 'themes/ananke/layouts/post/summary-with-image.html') diff --git a/themes/ananke/layouts/post/summary-with-image.html b/themes/ananke/layouts/post/summary-with-image.html new file mode 100644 index 0000000..3afac67 --- /dev/null +++ b/themes/ananke/layouts/post/summary-with-image.html @@ -0,0 +1,20 @@ +
+ +
+ {{ $featured_image := partial "func/GetFeaturedImage.html" . }} + {{ if $featured_image }} +
+ image from {{ .Title }} +
+ {{ end }} +
+

{{ .Title }}

+
+ {{ .Summary }} +
+ {{/* TODO: add author +

By {{ .Author }}

*/}} +
+
+
+
-- cgit v1.2.3