diff --git a/themes/default/static/css/main.css b/themes/default/static/css/main.css index 32c5edd..0fb3abf 100644 --- a/themes/default/static/css/main.css +++ b/themes/default/static/css/main.css @@ -103,6 +103,11 @@ hr{ margin:3em auto; } +img{ + width: calc(100% + 6em); + margin: 1em 0 1em -3em; +} + .lastupdate{ font-size: smaller; margin:4em 0; diff --git a/themes/default/templates/article.html b/themes/default/templates/article.html index 2562384..16d691a 100644 --- a/themes/default/templates/article.html +++ b/themes/default/templates/article.html @@ -4,49 +4,66 @@ {% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %} {% block head %} - {{ super() }} + {{ super() }} - {% import 'translations.html' as translations with context %} - {% if translations.entry_hreflang(article) %} - {{ translations.entry_hreflang(article) }} - {% endif %} + {% import 'translations.html' as translations with context %} + {% if translations.entry_hreflang(article) %} + {{ translations.entry_hreflang(article) }} + {% endif %} - {% if article.description %} - - {% endif %} + {% if article.description %} + + {% endif %} - {% for tag in article.tags %} - - {% endfor %} + {% for tag in article.tags %} + + {% endfor %} {% endblock %} {% block content %}
-
-

- {{ article.title }}

+
+

+ {{ article.title }}

{% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} -
-
- {% if article.category %} -
- Part of: {{ article.category }} -
- {% endif %} - {% if article.tags %} -
- Tags: - {% for tag in article.tags %} - {{ tag }} - {% endfor %} -
- {% endif %} -
-
- {{ article.content }} -
+
+ +
+ {{ article.content }} +
+ + +
{% endblock %} diff --git a/themes/default/templates/index.html b/themes/default/templates/index.html index 4042725..eb1e663 100644 --- a/themes/default/templates/index.html +++ b/themes/default/templates/index.html @@ -12,9 +12,4 @@ {% endfor %} - - - - - {% endblock content %}