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"
|
||||
defaultContentLanguage = "en"
|
||||
theme = "hermit"
|
||||
enableGitInfo = true
|
||||
license = "WTFPL"
|
||||
copyright = '<a href="http://www.wtfpl.net/about/" rel="noopener">WTFPL</a>'
|
||||
|
||||
@ -16,9 +18,8 @@ enableEmoji = true
|
||||
dateformShort = "Jan 2"
|
||||
dateformNum = "2006-02-01"
|
||||
dateformNumTime = "2006-02-01 15:04 +0000"
|
||||
|
||||
# Metadata mostly used in document's head
|
||||
description = "dotya.ml"
|
||||
description = "dotya.ml homepage"
|
||||
keywords = "homepage, development, git, programming"
|
||||
images = [""]
|
||||
themeColor = "#282a2b"
|
||||
|
@ -1,3 +1,3 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user