From e7b6a9c4774491e06073c19c20837eae366174b1 Mon Sep 17 00:00:00 2001 From: rra Date: Sat, 19 May 2018 12:29:30 +0200 Subject: [PATCH] update syndication, site urls, make static banner unclickable --- theme/wttf/templates/article.html | 4 ++-- theme/wttf/templates/base.html | 8 ++++---- theme/wttf/templates/index.html | 2 +- theme/wttf/templates/syndication.html | 17 +++++++++-------- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/theme/wttf/templates/article.html b/theme/wttf/templates/article.html index b5e582e..9b239f1 100644 --- a/theme/wttf/templates/article.html +++ b/theme/wttf/templates/article.html @@ -8,7 +8,7 @@ {% block header %}

- Welcome to + Welcome to the {%- for t, article in tags|sort %} {% endfor %} - Federation + Federation

{% endblock %} @@ -89,7 +89,7 @@ var t = getRandom(-5,95); var l = getRandom(-5,98); var s = getRandom(1,6); - $('header #menu.main').append(''); + $('header #menu.main').append(''); } diff --git a/theme/wttf/templates/index.html b/theme/wttf/templates/index.html index ce7646c..77dd1c8 100644 --- a/theme/wttf/templates/index.html +++ b/theme/wttf/templates/index.html @@ -73,7 +73,7 @@ {% for tag in article.tags %} - + {% endfor %} diff --git a/theme/wttf/templates/syndication.html b/theme/wttf/templates/syndication.html index ea55fb6..e96d5b5 100644 --- a/theme/wttf/templates/syndication.html +++ b/theme/wttf/templates/syndication.html @@ -5,7 +5,7 @@ {# Thumbnail image to show when homepage is shared on social media. It also serves as the default image for posts whose featured_image is not set. #} {% if not FEATURED_IMAGE %} -{% set FEATURED_IMAGE = 'https://roelof.info/~r/wttf/images/fi.png' %} +{% set FEATURED_IMAGE = 'https://roelof.info/~r/wttf/images/fi.jpg' %} {% else %} {% set FEATURED_IMAGE = FEATURED_IMAGE %} {% endif %} @@ -24,16 +24,16 @@ serves as the default image for posts whose featured_image is not set. #} {% if article.locale_modified and article.modified %} {% endif %} - {% if article.featured_image %} {% if I18N_SUBSITES %} {% for lang, url in I18N_SUBSITES.items() %} - {% if lang == 'en' %} - - - + {% if lang == 'en' %} + + + + {% endif %} {% endfor %} {% endif %} @@ -43,14 +43,15 @@ serves as the default image for posts whose featured_image is not set. #} {% endif %} {% endif %} + {% endif %} {% if not article %} - - + + {% if FEATURED_IMAGE %}