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
13
pelican/themes/martyalchin/templates/article.html
Normal file
13
pelican/themes/martyalchin/templates/article.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}{{ article.title }}{%endblock%}
|
||||
{% block content %}
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="info">
|
||||
{% if article.author %}
|
||||
By <a class="url fn" href="#">{{ article.author }}</a>
|
||||
{% endif %}
|
||||
on <a>{{ article.date.strftime('%a %d %B %Y') }}</a>
|
||||
about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
|
||||
</div>
|
||||
{{ article.content }}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue