Creative Commons Attribution license
[Ultimately_Untrue_Thought.git] / theme / templates / base.html
index e6d02bc..20f16e3 100644 (file)
@@ -35,9 +35,9 @@
             <a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate"><img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/images/icons/feed-32px.png" alt="rss feed"/></a>
           {% endif %}
            </div>
-           {% if PAGES %}
+           {% if pages %}
              <nav class="pages">
-               {% for p in PAGES %}
+               {% for p in pages %}
                          <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
                          {% if not loop.last %}-{% endif %}
                        {% endfor %}
                  </aside>
                {% endif %}
 
+                <aside class="tag-cloud">
+                  <h2>Tags</h2>
+                  {% for tag in tag_cloud %}
+                    <span class="tag-{{ tag.1 }}">
+                      <a href="{{ SITEURL }}/{{ tag.0.url }}">
+                        {{ tag.0 }}
+                      </a>
+                    </span>
+                  {% endfor %}
+                </aside>
+
                  </div>
 
          </div>
 
       <footer>
-               <p role="contentinfo">
-                 ©2016–2017 {{ AUTHOR }} • Proudly powered by <a href="http://docs.getpelican.com/en/3.6.3/">Pelican</a>. Theme modified from <a href="https://github.com/fle/pelican-simplegrey">pelican-simplegrey</a>.
+       <p>
+         ©2016–2017 {{ AUTHOR }} • <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a> This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
+        </p>
+        <p>
+          Proudly powered by <a href="http://docs.getpelican.com/en/3.6.3/">Pelican</a>. Theme modified from <a href="https://github.com/fle/pelican-simplegrey">pelican-simplegrey</a>.
        </p>
 
-         </footer>
+      </footer>
 
        </div>