Added metadata to footer

Includes last update and author details from git as well as approximate
number of words and reading time statistics.
parent ab0f4f3c
......@@ -11,6 +11,9 @@ DefaultContentLanguage = "en"
title = "Indienet"
theme = "docdock"
# This allows pages to get the last modified time from git.
enableGitInfo = "true"
[params]
editURL = "https://source.ind.ie/indienet/docs/tree/master/content/"
showVisitedLinks = false # default is false
......
<footer class=" footline" >
<p><strong>Author:</strong> <a href='mailto:{{ .GitInfo.AuthorEmail }}'>{{ .GitInfo.AuthorName }}</a> <strong>Last modified:</strong> {{ .Lastmod.Format "02/01/2006" }} <strong>Words: </strong> ~{{ .FuzzyWordCount }} <strong>Reading time: </strong> {{ .ReadingTime }} min</p>
</footer>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment