summaryrefslogtreecommitdiff
path: root/_site_build/_includes
diff options
context:
space:
mode:
authordavidtsadler <davidtsadler@googlemail.com>2012-04-25 21:38:37 +0100
committerdavidtsadler <davidtsadler@googlemail.com>2012-04-25 21:44:42 +0100
commitf85e00fe443d37b7b0d06e7b2a5f5d813764a1d9 (patch)
tree92490750dd1d769ebbf1fd08c468c0dbdd699762 /_site_build/_includes
parent77efcae135f9904683229346be70adc40af621da (diff)
Enable posts to show license.
Diffstat (limited to '_site_build/_includes')
-rw-r--r--_site_build/_includes/footer.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/_site_build/_includes/footer.html b/_site_build/_includes/footer.html
index b165e1d..2aefd40 100644
--- a/_site_build/_includes/footer.html
+++ b/_site_build/_includes/footer.html
@@ -1,4 +1,9 @@
<footer>
+ {% if page.licensed %}
+ <p id="license">
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons Licence" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" /></a><br />This <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" rel="dct:type">work</span> by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">{{ site.author }}</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
+ </p>
+ {% endif %}
<p>
<small>Copyright &copy; {{ site.copyright_year }} by {{ site.author }}. All Rights Reserved.</small>
</p>