From 70a35f30302bacf792816fffe0269f8748cad876 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 23 Jan 2017 15:10:53 +0200 Subject: [PATCH] README.md: Add note about enableGitInfo --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c28e1d5..e22eb19 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ A few suggestions to help you get a good looking site quickly: - Use the `` tag in posts to control how much of a post is shown on summary pages - Disable comments on a post by setting `comments = false` in its frontmatter - Disable social sharing icons site wide (or on individual pages/posts) by setting `sharingicons = false` +- If your content is stored in git, add `enableGitInfo = true` to your site config and Hugo will use git history to set a more accurate modification date in page metadata See the source code and structure of [picturingjordan.com](https://github.com/alanorth/picturingjordan.com) to get more ideas.