From 653ad5bcdec9477140e141da4c59e3d60a2b3b7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 7 Feb 2018 09:52:01 +0100 Subject: [PATCH] Add a simple byline --- content/showcase/forestry/index.md | 1 + themes/gohugoioTheme/layouts/showcase/single.html | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/content/showcase/forestry/index.md b/content/showcase/forestry/index.md index c678a4d83..01f1ed148 100644 --- a/content/showcase/forestry/index.md +++ b/content/showcase/forestry/index.md @@ -3,6 +3,7 @@ title: Forestry.io date: 2017-10-13T12:00:00-05:00 siteURL: https://forestry.io/ siteSource: https://github.com/forestryio +byline: "[Some Person](https://example.com), CEO of Some Company" --- diff --git a/themes/gohugoioTheme/layouts/showcase/single.html b/themes/gohugoioTheme/layouts/showcase/single.html index be40e7306..55fec7f49 100644 --- a/themes/gohugoioTheme/layouts/showcase/single.html +++ b/themes/gohugoioTheme/layouts/showcase/single.html @@ -37,12 +37,15 @@ Showcase: {{ .Title }} {{ with $img }} {{ $img := .Resize "940x" }} {{ $img.Title }} + {{ end }} + {{end}} {{define "details"}}