From 274688f2382bcfecb66b46bdef6175650bea5262 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 20 Aug 2020 22:28:54 +0530 Subject: [PATCH] layouts/single : add option to disable Post-meta i.e. date, author-info can be used for posts which are just info, and not a 'post' set `hideMeta = true` in Page Variables (https://gohugo.io/variables/page/#page-variables) --- layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fbc395f3..c0a00590 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,11 +6,13 @@ {{ .Title }} {{- if .Draft }}