forked from github/pelican
Add a way to specify the locale in the settings, and the date formating as well. Fixes #61.
13 lines
452 B
HTML
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 %}
|