diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2019-03-24 16:22:40 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2019-03-24 16:22:40 +0300 |
commit | d74d1138724256faaed4d40b3994c2872587f7a2 (patch) | |
tree | 3de0af17cfe351e076c2c74c1b175918b8731e06 | |
parent | f6dc00a1163eee997c2b2bacb11849acd741d912 (diff) |
add copyright content to the footer partial
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e564175..e105064 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -94,7 +94,7 @@ themesDir = "../.." "500px" = "" [params.copy] - copy = "" + message = "" [params.agreements] message = "" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e69de29..bb5f0ce 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -0,0 +1,15 @@ +<footer class="footer"> + + <!-- Copy --> + <div class="footer__copy"> + {{ if $.Site.Params.copy.message }} + {{ $.Site.Params.copy.message }} + {{ else }} + © {{ now.Format "2006" }} - {{ $.Site.Title }} + {{ end }} + </div> + + <!-- JS Script --> + {{ partial "scripts.html" . }} + +</footer>
\ No newline at end of file |