diff options
author | Philip Henning <mail@philip-henning.com> | 2018-10-24 14:30:29 +0300 |
---|---|---|
committer | Philip Henning <mail@philip-henning.com> | 2018-10-24 14:30:29 +0300 |
commit | c3cbc7444cc7a40e4f25ea6b83e07a9f725ad00f (patch) | |
tree | a9fc9d21c3cec7b811dca292ba8fc853be3f1adf | |
parent | 0b338edb1ea2b107cb1da19c67937cffb13e8c3d (diff) |
Add proper CC BY attribution to the footer; Add Copyright notice to the footer; Add possibility to add a start year for the copyright; Add possibility to mark the theme as changed; Add Github icon to the social icons.
-rw-r--r-- | exampleSite/config.toml | 5 | ||||
-rw-r--r-- | layouts/partials/footer.html | 16 |
2 files changed, 18 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7e35272..481ef7c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -84,4 +84,9 @@ theme = "timer-hugo" title = "SOME OF OUR FEATURES WORKS" subtitle= "Aliquam lobortis. Maecenas vestibulum mollis diam. Pellentesque auctor neque nec urna. Nulla sit amet est. Aenean posuere <br> tortor sed cursus feugiat, nunc augue blandit nunc, eu sollicitudin urna dolor sagittis lacus." + # Footer section + [params.footer] + customized = false # Set this variable to true if you customized the design. + copyright_owner = "Themefisher" + copyright_since = "2018"
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4f1e17b..6b012eb 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,11 +3,16 @@ <div class="container"> <div class="row content-justify-between"> <div class="col-md-8 col-12 text-center text-lg-left text-md-left"> - <p class="copyright">Copyright: + <p class="copyright">© <span> + {{ if (and (lt .Site.Params.footer.copyright_since (now.Format "2006")) .Site.Params.footer.copyright_since) }} + {{ .Site.Params.footer.copyright_since }} - + {{ end }} <script>document.write(new Date().getFullYear())</script> - </span> Design and Developed by - <a href="http://www.Themefisher.com" target="_blank">Themefisher</a>. + </span> by {{ .Site.Params.footer.copyright_owner }}. + </p> + <p class="copyright"> + © <a href="https://github.com/themefisher/timer-hugo" target="_blank">Timer Hugo</a> designed and developed by <a href="http://www.Themefisher.com" target="_blank">Themefisher</a> and <a href="https://github.com/themefisher/timer-hugo/graphs/contributors" target="_blank">these Contributors</a> is licensed under <a href="https://creativecommons.org/licenses/by/3.0/legalcode" target="_blank"><img src="/images/cc-by.svg" alt="CC BY 3.0" /></a> .{{ if .Site.Params.footer.customized }} / Desaturated from original{{ end }} </p> </div> <div class="col-md-4 col-12"> @@ -33,6 +38,11 @@ <i class="ion-social-googleplus"></i> </a> </li> + <li> + <a href="#" class="github"> + <i class="ion-social-github"></i> + </a> + </li> </ul> </div> </div> |