add archives page, link for gitlog
This commit is contained in:
parent
0a89655e79
commit
5c828f6589
16
themes/simple/templates/archives.html
Normal file
16
themes/simple/templates/archives.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }} - Archives{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Archives for {{ SITENAME }}</h1>
|
||||
|
||||
<dl class="pure-menu-list">
|
||||
{% for article in dates %}
|
||||
<dt>{{ article.locale_date }}</dt>
|
||||
<dd class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
|
||||
</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
{% endblock %}
|
@ -96,6 +96,12 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" style="color: #6c757d;" href="{{ SITEURL }}/archives.html">Archives</a>
|
||||
</li>
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" style="color: #6c757d;" href="https://git.boringonian.com/trent/lmnwest/commits/branch/master">GitLog</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav><!-- /#menu -->
|
||||
{% block content %}
|
||||
|
14
themes/simple/templates/tags.html
Normal file
14
themes/simple/templates/tags.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }} - Tags{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Tags for {{ SITENAME }}</h1>
|
||||
<ul class="pure-menu-list">
|
||||
{% for tag, articles in tags|sort %}
|
||||
<li class="pure-menu-item">
|
||||
<a class="pure-menu-link" href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} ({{ articles|count }})</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user