feat: added git info to the footer for pages other than the index
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e9e287ebec
commit
6640239616
@ -1,6 +1,8 @@
|
|||||||
baseurl = "/"
|
baseurl = "https://dotya.ml"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
|
defaultContentLanguage = "en"
|
||||||
theme = "hermit"
|
theme = "hermit"
|
||||||
|
enableGitInfo = true
|
||||||
license = "WTFPL"
|
license = "WTFPL"
|
||||||
copyright = '<a href="http://www.wtfpl.net/about/" rel="noopener">WTFPL</a>'
|
copyright = '<a href="http://www.wtfpl.net/about/" rel="noopener">WTFPL</a>'
|
||||||
|
|
||||||
@ -16,9 +18,8 @@ enableEmoji = true
|
|||||||
dateformShort = "Jan 2"
|
dateformShort = "Jan 2"
|
||||||
dateformNum = "2006-02-01"
|
dateformNum = "2006-02-01"
|
||||||
dateformNumTime = "2006-02-01 15:04 +0000"
|
dateformNumTime = "2006-02-01 15:04 +0000"
|
||||||
|
|
||||||
# Metadata mostly used in document's head
|
# Metadata mostly used in document's head
|
||||||
description = "dotya.ml"
|
description = "dotya.ml homepage"
|
||||||
keywords = "homepage, development, git, programming"
|
keywords = "homepage, development, git, programming"
|
||||||
images = [""]
|
images = [""]
|
||||||
themeColor = "#282a2b"
|
themeColor = "#282a2b"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
||||||
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }} · <a href="https://git.dotya.ml/dotya.ml/dotya_homepage" title="source code" target="_blank" rel="noopener">source</a></p>
|
<p>© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>{{ .Site.Params.footerCopyright | safeHTML }} · <a href="https://git.dotya.ml/dotya.ml/dotya_homepage" title="source code" target="_blank" rel="noopener">source</a><br/><a href="https://git.dotya.ml/dotya.ml/dotya_homepage/commit/{{ .GitInfo.Hash }}" target="_blank" rel="noopener">commit {{ .GitInfo.AbbreviatedHash }}</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user