Initial site of temporary Solarpunk City website

This commit is contained in:
2023-03-06 11:14:55 -07:00
commit 70876f195f
18 changed files with 954 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
{% extends "base.html" %}
{% block title %}{{ article.title|striptags }} | Solarpunk City{% endblock %}
{% block head %}
{{ super() }}
{% if article.date %}
<meta name="date" content="{{article.date}}" />
{% endif %}
{% if article.summary %}
<meta name="description" content="{{article.summary|striptags}}" />
<meta name="summary" content="{{article.summary|striptags}}" />
{% endif %}
{% if article.category %}
<meta name="category" content="{{article.category}}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block content %}
<div class="content">
<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>
{% endblock %}