From a730ea45e8a07b4ed933a85a0a13570facde6edb Mon Sep 17 00:00:00 2001 From: ryan-p-randall Date: Tue, 25 Jun 2024 09:21:00 -0600 Subject: [PATCH] Remove author sidebar from most layouts, make TOC sticky, fewer related. --- _config.yml | 10 ++++++---- _layouts/single.html | 4 ++-- _pages/colophon.md | 2 ++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/_config.yml b/_config.yml index d0d7b852..6f247612 100644 --- a/_config.yml +++ b/_config.yml @@ -154,28 +154,30 @@ defaults: type: posts values: layout: single - author_profile: true + author_profile: false # true breadcrumbs: true comments: true read_time: false related: true share: false show_date: true + toc_sticky: true # _pages - scope: path: "_pages" type: pages values: layout: single - author_profile: true + author_profile: false # true breadcrumbs: true + toc_sticky: true # notes - scope: path: "" # "_notes/**/*.md" type: notes values: layout: "note" - author_profile: true + author_profile: false # true comments: true toc: true toc_sticky: true @@ -189,7 +191,7 @@ defaults: layout: bookmark-single-page # single # toc: false # true # toc_sticky: false # true - author_profile: true + author_profile: false # true category_archive: diff --git a/_layouts/single.html b/_layouts/single.html index e2731fa3..8453f60f 100644 --- a/_layouts/single.html +++ b/_layouts/single.html @@ -118,7 +118,7 @@

{{ site.data.ui-text[site.locale].meta_label }}

- {% for post in site.related_posts limit:4 %} + {% for post in site.related_posts limit:3 %} {% comment %} default was limit:4 {% endcomment %} {% include archive-single.html type="grid" %} {% endfor %}
@@ -128,7 +128,7 @@