Support setting an article as "wide"
This commit is contained in:
@@ -32,21 +32,33 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p><a href="/">← Return to Home</a></p>
|
||||
<header>
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="summary">
|
||||
{{ article.summary }}
|
||||
|
||||
{% if article.wide %}
|
||||
<div class="content content-wide">
|
||||
{% else %}
|
||||
<div class="content">
|
||||
{% endif %}
|
||||
|
||||
<div class="topbar">
|
||||
{{ info() }}
|
||||
</div>
|
||||
|
||||
<p><a href="/">← Return to Home</a></p>
|
||||
<header>
|
||||
<h1>{{ article.title }}</h1>
|
||||
<div class="summary">
|
||||
{{ article.summary }}
|
||||
</div>
|
||||
<p class="metadata">
|
||||
{{ article.locale_date }}
|
||||
{% if article.modified %}
|
||||
— updated {{ article.locale_modified }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</header>
|
||||
<hr />
|
||||
<article>
|
||||
{{ article.content }}
|
||||
</article>
|
||||
</div>
|
||||
<p class="metadata">
|
||||
{{ article.locale_date }}
|
||||
{% if article.modified %}
|
||||
— updated {{ article.locale_modified }}
|
||||
{% endif %}
|
||||
</p>
|
||||
</header>
|
||||
<hr />
|
||||
<article>
|
||||
{{ article.content }}
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user