Commit 4ec266d6 authored by colmoneill's avatar colmoneill

a template for tag pages, a small bit of css, and some extra navigation items...

a template for tag pages, a small bit of css, and some extra navigation items + footer site wide tag list
parent e7c337e5
Pipeline #16400447 passed with stages
in 3 minutes and 7 seconds
......@@ -52,10 +52,17 @@ h1{
font-size: 2em;
}
div.container{
max-width: 60%;
margin-left: 20%;
width: 95%;
margin-left: 0%;
float: left;
}
@media all and (min-width: 899px) {
div.container{
width: 60%;
max-width: 60%;
margin-left: 20%;
}
}
img{
max-width: 100%;
}
......@@ -65,3 +72,14 @@ nav#menu ul{
nav#menu ul li{
display: inline-block;
}
ul#post-list{
padding: 0;
}
aside ul#footer-tag-list{
padding: 0;
}
aside ul#footer-tag-list li{
display: inline-block;
font-size: 0.75em;
color: grey;
}
......@@ -55,6 +55,20 @@
{% for cat, null in categories %}
<li{% if cat == category %} class="active"{% endif %}><a class="category" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
<br>
posts from:<br>
<li><a href="/2006/index.html">2006</a></li>
<li><a href="/2007/index.html">2007</a></li>
<li><a href="/2008/index.html">2008</a></li>
<li><a href="/2009/index.html">2009</a></li>
<li><a href="/2010/index.html">2010</a></li>
<li><a href="/2011/index.html">2011</a></li>
<li><a href="/2012/index.html">2012</a></li>
<li><a href="/2013/index.html">2013</a></li>
<li><a href="/2014/index.html">2014</a></li>
<li><a href="/2015/index.html">2015</a></li>
<li><a href="/2016/index.html">2016</a></li>
<li><a href="/2017/index.html">2017</a></li>
<br><br>
<li>
<form class="navbar-search" action="{{ SITEURL }}/search.html" onsubmit="return validateForm(this.elements['q'].value);">
......@@ -68,7 +82,8 @@
<footer id="contentinfo" class="body">
</footer><!-- /#contentinfo -->
<aside>
<ul>
<ul id="footer-tag-list">
<li>blog wide tag list:</li><br>
{%- for tag, articles in tags|sort %}
<li><a class="tag" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li>
{% endfor %}
......
{% extends "index.html" %}
{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment