From de0a6de5263937e6b4e59c3d079dff2450916880 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 25 Oct 2017 07:19:20 +0200 Subject: [PATCH 1/4] Just Read: Extended metadata block for non-article pages --- Just-Read/templates/base.html | 50 ++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html index a61b22b2c..715b8c4d5 100644 --- a/Just-Read/templates/base.html +++ b/Just-Read/templates/base.html @@ -14,9 +14,7 @@ {% endif %} - - {% if GOOGLE_PLUS_PROFILE_URL %} {% endif %} @@ -24,9 +22,8 @@ {% endif %} - - {%if article %} + {%if article %} @@ -34,21 +31,50 @@ - {% if article.featured_image %} + {% if article.featured_image %} - {% endif %} - {%if DESCRIPTION %} + {% endif %} + {%if DESCRIPTION %} - {%else %} + {%else %} - {% endif %} - {%if FACEBOOK_PROFILE_URL %} + {% endif %} + {%if FACEBOOK_PROFILE_URL %} + {% endif %} + {% elif page %} + + + + + + + + {% if page.featured_image %} + + {% endif %} + {%if DESCRIPTION %} + + + {%else %} + + + {% endif %} + {% else %} + + + {% if DEFAULT_LANG %} + + {% endif %} + + + {%if DESCRIPTION %} + + + {% endif %} {% endif %} - {% endif %} - From 9d033a3ea6efd51af3926b02394596652ed97c97 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 13 Nov 2017 10:03:33 +0100 Subject: [PATCH 2/4] fixup! Just Read: Extended metadata block for non-article pages --- Just-Read/templates/base.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html index 715b8c4d5..8b980b5ab 100644 --- a/Just-Read/templates/base.html +++ b/Just-Read/templates/base.html @@ -31,19 +31,19 @@ - {% if article.featured_image %} + {% if article.featured_image %} - {% endif %} - {%if DESCRIPTION %} + {% endif %} + {%if DESCRIPTION %} - {%else %} + {%else %} - {% endif %} - {%if FACEBOOK_PROFILE_URL %} + {% endif %} + {%if FACEBOOK_PROFILE_URL %} - {% endif %} + {% endif %} {% elif page %} @@ -52,28 +52,28 @@ - {% if page.featured_image %} + {% if page.featured_image %} - {% endif %} - {%if DESCRIPTION %} + {% endif %} + {%if DESCRIPTION %} - {%else %} + {%else %} - {% endif %} + {% endif %} {% else %} - {% if DEFAULT_LANG %} + {% if DEFAULT_LANG %} - {% endif %} + {% endif %} - {%if DESCRIPTION %} + {%if DESCRIPTION %} - {% endif %} + {% endif %} {% endif %} From 2d078b7f4b0a73ffb2d1bb4dfd43997484411dff Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Fri, 11 May 2018 12:29:19 +0200 Subject: [PATCH 3/4] Justi Read: Replaced twitter widget This new version is more suitable for a CSP setting --- Just-Read/templates/article.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Just-Read/templates/article.html b/Just-Read/templates/article.html index c68487c5a..1539b78ed 100644 --- a/Just-Read/templates/article.html +++ b/Just-Read/templates/article.html @@ -8,8 +8,7 @@

{{ article.title }}

{{ article.content }} - - + {% if DISQUS_SITENAME %}

Comments !

From 2ba901d67bfef24d1c6066dfb11f683baca06db2 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Fri, 11 May 2018 12:46:39 +0200 Subject: [PATCH 4/4] Just Read: Replaced disqus code with new version from disqus.com --- Just-Read/templates/article.html | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/Just-Read/templates/article.html b/Just-Read/templates/article.html index 1539b78ed..038eb3ba0 100644 --- a/Just-Read/templates/article.html +++ b/Just-Read/templates/article.html @@ -6,25 +6,31 @@

{{ article.title }}

{{ article.content }} - + {% if DISQUS_SITENAME %}
-

Comments !

-
- +

Comments !

+
+ +
- {% endif %} + {% endif %}
- {% include 'metadata.html' %}