From de8ccb08064bec9096b23402213ec125a3ddbf42 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 9 Aug 2017 21:12:20 +0100 Subject: [PATCH] Add generator tag and comment link to theme code How to preserve HTML comments in Go templates: https://discourse.gohugo.io/t/how-to-add-comments-in-a-template/75/8 --- layouts/partials/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 983bea5..23528fe 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,6 +2,8 @@ {{ .Site.Title }} + {{ .Hugo.Generator }} + {{ "" | safeHTML }}