From 2151733e4fee2491f0e60dcfd798d759142e5151 Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Thu, 17 Nov 2022 21:35:03 -0800 Subject: [PATCH] Add robots meta tags on pages in robots.txt Useful when app is at a non-root path and we're not handling top-level /robots.txt requests. --- app/templates/followers.html | 1 + app/templates/following.html | 1 + app/templates/login.html | 3 +++ app/templates/remote_follow.html | 1 + app/templates/remote_interact.html | 1 + 5 files changed, 7 insertions(+) diff --git a/app/templates/followers.html b/app/templates/followers.html index a5df2bb..dabd049 100644 --- a/app/templates/followers.html +++ b/app/templates/followers.html @@ -3,6 +3,7 @@ {% block head %} {{ local_actor.display_name }}'s followers + {% endblock %} {% block content %} diff --git a/app/templates/following.html b/app/templates/following.html index b8db603..3341725 100644 --- a/app/templates/following.html +++ b/app/templates/following.html @@ -3,6 +3,7 @@ {% block head %} {{ local_actor.display_name }}'s follows + {% endblock %} {% block content %} diff --git a/app/templates/login.html b/app/templates/login.html index bc0512d..8f3940a 100644 --- a/app/templates/login.html +++ b/app/templates/login.html @@ -1,5 +1,8 @@ {%- import "utils.html" as utils with context -%} {% extends "layout.html" %} +{% block head %} + +{% endblock %} {% block main_tag %} class="main-flex"{% endblock %} {% block content %}
diff --git a/app/templates/remote_follow.html b/app/templates/remote_follow.html index bfe5ecc..ed25be0 100644 --- a/app/templates/remote_follow.html +++ b/app/templates/remote_follow.html @@ -3,6 +3,7 @@ {% block head %} Remote follow {{ local_actor.display_name }} + {% endblock %} {% block content %} diff --git a/app/templates/remote_interact.html b/app/templates/remote_interact.html index 517fb0b..0fbfe26 100644 --- a/app/templates/remote_interact.html +++ b/app/templates/remote_interact.html @@ -3,6 +3,7 @@ {% block head %} Interact from your instance + {% endblock %} {% block content %}