forked from github/pelican
publication time and date and the last modified time and date
independently.
This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
12 lines
326 B
HTML
12 lines
326 B
HTML
{% extends "base.html" %}
|
|
{% block title %}{{ page.title }}{%endblock%}
|
|
{% block content %}
|
|
<h1>{{ page.title }}</h1>
|
|
{% import 'translations.html' as translations with context %}
|
|
{{ translations.translations_for(page) }}
|
|
|
|
{{ page.content }}
|
|
<p>
|
|
Last updated: {{ page.locale_modified }}
|
|
</p>
|
|
{% endblock %}
|