Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Chen-Zhe/photo-grid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Zhe <chenzhesg@gmail.com>2021-01-30 08:49:24 +0300
committerChen Zhe <chenzhesg@gmail.com>2021-01-30 08:49:24 +0300
commit2fd32f7625e02c2d58f80213ea45f26f9cd0bfbd (patch)
tree0c73e661495f7c78fab5831b272deaac8486d5da /layouts
parentd12cf3304604aa1447c931e125baed0387ea9be3 (diff)
update footer styling and auto-date
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index dcdf07d..c5750f1 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,3 +1,7 @@
-<footer>
- {{ with .Site.Params.footertext }}{{ . | markdownify }}{{ end }}
+<footer>
+ <p>{{ .Site.Params.copyright_text }} © {{ .Site.Params.copyright_since_year }} - {{ now.Format "2006" }} {{ .Site.Params.author }}</p>
+ <p>{{ with .Site.Params.footertext }}{{ . | markdownify }}{{ end }}</p>
+ <p class="credits">Built with <a href="https://gohugo.io/" target="_blank">Hugo</a>
+ | Theme <a href="https://themes.gohugo.io/photo-grid/" target="_blank">Photo-Grid</a> by Chen Zhe
+ </p>
</footer> \ No newline at end of file