commit 1c5dbd621fc93c18b9a3767ce7db458df8509668 parent 396a0668b7d9e8dd238ff6ea6879c09ea745dc26 Author: Yohanes Bandung Bondowoso <hi@ybbond.dev> Date: Fri, 12 Jun 2020 07:20:39 +0700 content: get the license right Diffstat:
| M | assets/styles.scss | | | 4 | ++-- |
| M | config.toml | | | 1 | + |
| M | layouts/partials/footer/footer.html | | | 12 | ++++++++++-- |
| A | static/cc-by-80x15.png | | | 0 |
4 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/assets/styles.scss b/assets/styles.scss @@ -365,9 +365,9 @@ time { margin: 0 0 1.8em; } - &__copyright { + &__license { margin: 0.7em 0 1em; - font-size: 0.8em; + font-size: 0.7em; } } diff --git a/config.toml b/config.toml @@ -1,6 +1,7 @@ baseURL = "https://ybbond.dev/" languageCode = "en-us" title = "YBBond" +copyright = "CC-BY 4.0" [permalinks] posts = "/posts/:year-:month-:slug/" diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html @@ -5,6 +5,7 @@ <a data-goatcounter-click="cl-home-foot" data-rel="prefetch" + title="Button to go back to home page" href={{ .Site.BaseURL }} >« Back to Home </a> @@ -14,25 +15,30 @@ <a data-goatcounter-click="cl-gh-foot" href="https://github.com/{{ .Site.Params.Github }}" + title="external link to my github profile" rel="me" >GitHub</a> <a data-goatcounter-click="cl-twit-foot" href="https://twitter.com/{{ .Site.Params.Twitter }}" + title="external link to my twitter profile" rel="me" >Twitter</a> <a data-goatcounter-click="cl-micro-foot" href="https://micro.blog/{{ .Site.Params.Microblog }}" + title="external link to my micro dot blog profile" rel="me" >Micro.blog</a> <a data-goatcounter-click="cl-mast-foot" href="https://indieweb.social/@ybbond" + title="external link to my mastodon profile" rel="me" >Mastodon</a> <a data-goatcounter-click="cl-rss-foot" + title="link to the RSS Feed for main content of this site" href={{ "index.xml" | absURL }} >RSS</a> </p> @@ -45,6 +51,7 @@ href="https://goatcounter.com" data-goatcounter-click="cl-gc-foot" target="_blank" + title="A Good Privacy Aware Web Analytics" rel="noreferrer noopener" >GoatCounter</a>. <br> @@ -53,6 +60,7 @@ href="https://stats.ybbond.dev/" data-goatcounter-click="cl-stats-foot" target="_blank" + title="external link to stats.ybbond.dev" rel="noreferrer noopener" >stats.ybbond.dev</a>. </span> @@ -82,6 +90,6 @@ >→</a> </center> -<center class="footer__copyright"> - ©{{ now.Year }} {{ .Site.Params.Author }} +<center class="footer__license"> + <a rel="license" title="Creative Commons Attribution 4.0 International License" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="{{ .Site.BaseURL }}cc-by-80x15.png" /></a><br />This document is licensed under a <a rel="license" title="Creative Commons Attribution 4.0 International License" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0 license</a>. </center> \ No newline at end of file diff --git a/static/cc-by-80x15.png b/static/cc-by-80x15.png Binary files differ.