forked from github/pelican
Add a new theme "martyalchin", based on http://martyalchin.com
This commit is contained in:
parent
5a9dbcab1c
commit
35dc0bf34c
12 changed files with 468 additions and 5 deletions
9
pelican/themes/martyalchin/templates/category.html
Normal file
9
pelican/themes/martyalchin/templates/category.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ category }}{%endblock%}
|
||||
<h1>{{ category }}</h1>
|
||||
<div class="info"></div>
|
||||
{% for article in articles %}
|
||||
<h2><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h2>
|
||||
<p class="published">{{ article.date.strftime('%a %d %B %Y') }}</p>
|
||||
{{ article.summary }}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue