fixes, cleanup

This commit is contained in:
randogoth 2023-05-03 00:21:33 +03:00
parent 041b2608d5
commit a8c4913437
61 changed files with 54 additions and 2648 deletions

View file

@ -5,15 +5,16 @@
{% endblock %}
{% for article in articles_page.object_list %}
{% if article.metadata['geohash'] %}
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="{{ article.metadata.latlon }}" href="geo:{{ article.metadata.latlon }}">{{ article.metadata.geohash }}</a></span>
<a href="geo:{{ article.metadata['lat'] }},{{ article.metadata['lon'] }}">{{ article.metadata['geohash'] }}</a>
</h2>
<span class="entry-summary">{{ article.summary }}</span>
</header>
</article>
{% endif %}
{% endfor %}
{% include 'pagination.html' %}