1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/test-theme/templates/drafts.html

33 lines
1.2 KiB
HTML

{% extends 'base.html' %}
{% set page_title = "Drafts" %}
{# This page is not to be linked from anywhere… #}
{% block content %}
<div style="background-color: #c03;">
<h2>Warning</h2>
<p>Articles linked from here are work in progress. You are not expected to
understand them, read them, comment on them, etc. The articles might not be
true, representative of anyone's opinions, suitable for neither minors nor
majors, …</p>
<p><b>IOW, hic sunt leones. You have been warned. Proceed at your own risk.
Articles here are provided as-is, without any warranty, express or
implied.</b></p>
</div>
<p>However, the content presented here is already present on the main branch of
the <a href="{{ SOURCEURL }}">blog's repository</a>, so you could read it anyway.
Here it is at one place and rendered, so it's maybe less pain to read.</p>
<ul>
{% for article in drafts %}
<li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a>
{% else %}
<p>No draft articles currently.</p>
{% endfor %}
{% for page in draft_pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a>
{% else %}
<p>No draft pages currently.</p>
{% endfor %}
{% endblock content %}
</ul>