link to Archives page grouped by month; drop Trigger Warning page
[Ultimately_Untrue_Thought.git] / theme / templates / base.html
index 98fcddf..0861d51 100644 (file)
             <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 %}
+               {% endfor %}
+                -
+                <a href="{{ SITEURL }}/archives/">Archives</a>
              </nav>
            {% endif %}
-           <a href="{{ SITEURL }}" class="title">☆✦ {{ SITENAME }} ✦☆ …</a>
+           <a href="{{ SITEURL }}" class="title">☆✦ {{ SITENAME }} ✦☆ …</a>
       </header>
 
          <div class="wrapper">
                  </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 {{ 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–2020 {{ 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="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International License</a>.
+        </p>
+        <p>
+          Proudly powered by <a href="https://blog.getpelican.com/">Pelican</a>. Theme modified from <a href="https://github.com/fle/pelican-simplegrey">pelican-simplegrey</a>. <a href="http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git">Site source</a>.
        </p>
 
-         </footer>
+      </footer>
 
        </div>
 
        {% if GOOGLE_ANALYTICS %}
-         <script>
-               var _gaq=[['_setAccount','{{ GOOGLE_ANALYTICS }}'],['_trackPageview']];
-               (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
-               g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
-               s.parentNode.insertBefore(g,s)}(document,'script'));
-         </script>
-    {% endif %}
+          <script>
+           (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+               (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+                                    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+           })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
+           ga('create', '{{ GOOGLE_ANALYTICS }}', 'auto');
+           ga('send', 'pageview');
+          </script>
+        {% endif %}
 
 </body>
 </html>