From 0c9379827961edef231017a415d6aa7faf812968 Mon Sep 17 00:00:00 2001 From: SamuelmdLow Date: Fri, 22 Nov 2024 08:54:42 +0000 Subject: [PATCH] Reduce padding on coverstory headline, add bluesky to main nav and footer, remove tiktok cause it got banned, lazy loading to sidebar image, move via in bluesky sharing link, add id to authors page media link the window scrolls to results when you change media --- authors/templates/authors/author_page.html | 4 ++-- .../infinitefeed/sidebar/sidebar_image_link_block.html | 2 +- navigation/templates/navigation/footer.html | 4 +++- navigation/templates/navigation/headers/main.html | 9 +++++++-- ubyssey/static_src/src/js/main.js | 6 +++--- ubyssey/static_src/src/styles/modules/_header.scss | 6 ++++++ .../static_src/src/styles/objects/_article_cover.scss | 2 +- 7 files changed, 23 insertions(+), 10 deletions(-) diff --git a/authors/templates/authors/author_page.html b/authors/templates/authors/author_page.html index 7f7476f81..77c90af23 100644 --- a/authors/templates/authors/author_page.html +++ b/authors/templates/authors/author_page.html @@ -50,9 +50,9 @@

Pinned

{% endif %} -
+
{% for type in media_types %} -

{{type.1}}

+

{{type.1}}

{% endfor %}
diff --git a/infinitefeed/templates/infinitefeed/sidebar/sidebar_image_link_block.html b/infinitefeed/templates/infinitefeed/sidebar/sidebar_image_link_block.html index 93108aab4..009d4fb03 100644 --- a/infinitefeed/templates/infinitefeed/sidebar/sidebar_image_link_block.html +++ b/infinitefeed/templates/infinitefeed/sidebar/sidebar_image_link_block.html @@ -2,7 +2,7 @@ {% if self.link %} {% endif %} -{% image self.image width-700 format-webp alt=self.alt_text title=self.alt_text %} +{% image self.image width-700 format-webp loading='lazy' alt=self.alt_text title=self.alt_text %} {% if self.link %} {% endif %} \ No newline at end of file diff --git a/navigation/templates/navigation/footer.html b/navigation/templates/navigation/footer.html index 52079d3e3..b5406d755 100644 --- a/navigation/templates/navigation/footer.html +++ b/navigation/templates/navigation/footer.html @@ -35,10 +35,12 @@

Stay in the loop