mirror of https://github.com/lxndrblz/anatole.git

Carlo Corti
01.21.2021 9b47909de2aae98697467fc362a506a114c66db3
Added the possibility to configure the copyright years
2 files modified
3 ■■■■ changed files
exampleSite/config.toml 1 ●●●● patch | view | raw | blame | history
layouts/partials/sidebar.html 2 ●●● patch | view | raw | blame | history
exampleSite/config.toml
@@ -21,6 +21,7 @@
[params]
title = "I'm Jane Doe"
author = "Jane Doe"
#copyright = "2020-2021"
description = "Call me Jane"
profilePicture = "images/profile.jpg"
keywords = ""
layouts/partials/sidebar.html
@@ -18,6 +18,6 @@
        {{ end }}
    </ul>
    <div class="footer">
        <div class="by_farbox">&copy; {{ .Site.Params.author }} {{ now.Format "2006"}} </div>
        <div class="by_farbox">&copy; {{ .Site.Params.author }} {{ if isset .Site.Params "copyright" }} {{ .Site.Params.copyright }} {{ else }} {{ now.Format "2006"}} {{end}}</div>
    </div>
</div>