From 524a63235dca1efac0f11bad2be95972bc1148e8 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Tue, 10 Jul 2018 23:19:00 +0200 Subject: [PATCH] Add the alternate link for all activitypub stuff in the templates --- templates/followers.html | 4 +++- templates/following.html | 4 +++- templates/index.html | 6 +++++- templates/layout.html | 5 ----- templates/liked.html | 4 +++- templates/note.html | 1 + templates/tags.html | 3 +++ 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/templates/followers.html b/templates/followers.html index fe15e62..b492e29 100644 --- a/templates/followers.html +++ b/templates/followers.html @@ -18,4 +18,6 @@ {% endblock %} -{% block links %}{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} +{% block links %} + +{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} diff --git a/templates/following.html b/templates/following.html index 3dc283c..c249b7d 100644 --- a/templates/following.html +++ b/templates/following.html @@ -18,4 +18,6 @@ {% endblock %} -{% block links %}{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} +{% block links %} + +{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} diff --git a/templates/index.html b/templates/index.html index 10ba52f..6cc2e37 100644 --- a/templates/index.html +++ b/templates/index.html @@ -54,4 +54,8 @@ {% endblock %} -{% block links %}{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} +{% block links %} + + + +{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} diff --git a/templates/layout.html b/templates/layout.html index d36d11d..21522fa 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,12 +8,7 @@ - {% if not request.args.get("older_than") and not request.args.get("previous_than") %}{% endif %} - - - - {% block links %}{% endblock %} {% if config.THEME_COLOR %}{% endif %} diff --git a/templates/liked.html b/templates/liked.html index 8255fdf..29b903f 100644 --- a/templates/liked.html +++ b/templates/liked.html @@ -29,4 +29,6 @@ {% endblock %} -{% block links %}{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} +{% block links %} + +{{ utils.display_pagination_links(older_than, newer_than) }}{% endblock %} diff --git a/templates/note.html b/templates/note.html index 8599778..053b6c7 100644 --- a/templates/note.html +++ b/templates/note.html @@ -19,3 +19,4 @@ {{ utils.display_thread(thread, likes=likes, shares=shares) }} {% endblock %} +{% block links %}{% endblock %} diff --git a/templates/tags.html b/templates/tags.html index 3beaa8b..e0ed839 100644 --- a/templates/tags.html +++ b/templates/tags.html @@ -29,3 +29,6 @@ {% endblock %} +{% block links %} + +{% endblock %}