Move some files to a better place, remove some unused file
This commit is contained in:
parent
0bbda99e9c
commit
89e88cf1e1
27 changed files with 13 additions and 13 deletions
16
layouts/partials/footer.html
Normal file
16
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<footer class="footer">
|
||||
<section class="container">
|
||||
{{ with .Site.Params.footercontent }}
|
||||
<p>{{ . }}</p>
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.hideCopyright }} © {{ now.Format "2006" }}{{ end }}
|
||||
{{ if not .Site.Params.hideCredits }}
|
||||
{{ if not .Site.Params.hideCopyright }} · {{ end }}
|
||||
{{ i18n "powered_by" }} <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
|
||||
{{ end }}
|
||||
{{ if .Site.Params.commit }}
|
||||
{{ if or (not .Site.Params.hideCredits) (not .Site.Params.hideCopyright) }} · {{ end }}
|
||||
[<a href="{{ .Site.Params.commit }}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]
|
||||
{{ end }}
|
||||
</section>
|
||||
</footer>
|
Loading…
Add table
Add a link
Reference in a new issue