1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 00:52:19 +01:00

README.md: Add note about enableGitInfo

This commit is contained in:
Alan Orth 2017-01-23 15:10:53 +02:00
parent d22b29567a
commit 70a35f3030
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -31,6 +31,7 @@ A few suggestions to help you get a good looking site quickly:
- Use the `<!--more-->` 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.