Browse Source

Adds CC license to footer

sValo 8 years ago
parent
commit
f86cf212d1
2 changed files with 8 additions and 2 deletions
  1. 1 1
      pelicanconf.py
  2. 7 1
      themes/nest/templates/base.html

+ 1 - 1
pelicanconf.py

@@ -48,7 +48,7 @@ NEST_HEADER_IMAGES = 'banner.png'
 
 #For future uses
 #NEST_FOOTER_HTML = ''
-NEST_COPYRIGHT = u'&copyleft; hackmeeting 1998-2016'
+NEST_COPYRIGHT = u'Sito realizzato da hackmeeting'
 
 # Pelican bootstrap 3 theme settings
 BOOTSTRAP_THEME = 'cyborg'

+ 7 - 1
themes/nest/templates/base.html

@@ -185,7 +185,13 @@
                             <small><em>Proudly powered by <a href="http://docs.getpelican.com/" target="_blank">pelican</a></em></small><br/>
                             <small><em>Theme and code by <a href="https://github.com/molivier" target="_blank">molivier</a></em></small><br/>
                             <small>{{ NEST_COPYRIGHT }}</small>
-                            {% if NEST_FOOTER_HTML %}<small><em>{{ NEST_FOOTER_HTML }}</em></small>{% endif %}
+                            <small><em><a
+                            rel="license"
+                            href="http://creativecommons.org/licenses/by-nc/4.0/"><img
+                            alt="Licenza Creative Commons"
+                            style="border-width:0"
+                            src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png"
+                            /></a></em></small>
                         </p>
                     </div>
                 </div>