1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/themes/martyalchin/templates/article.html
Alexis Metaireau d13e6f14fb Changes about locales and dates.
Add a way to specify the locale in the settings, and the date formating as well.
Fixes #61.
2011-02-01 21:44:50 +00:00

13 lines
452 B
HTML

{% 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.locale_date }}</a>
about <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
</div>
{{ article.content }}
{% endblock %}