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

@ -32,9 +32,7 @@ body {
line-height: 1.2em;
text-align: left;
color: #090A0E;
height: 100vh;
overflow-x: hidden;
overflow-y: hidden;
margin: auto;
max-width: 40em;
}
@ -56,7 +54,6 @@ ul li::before {
/* Use a thin border around all images. */
img
{
border: 1px solid;
max-width: 40em;
width: 100%;
}

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
{% block head %}
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">

View file

@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block title %}Numinous Field Communication{%endblock%}
{% block content %}
<h1>{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{{ page.content }}
{% if page.modified %}
<p>
Last updated: {{ page.locale_modified }}
</p>
{% endif %}
{% endblock %}

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' %}