From cc6003d997e041127ac081e14a3213c4b898860d Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Fri, 19 Jun 2026 18:35:56 +0200 Subject: Add page descriptions for metadata previews This adds a description field to blog posts and uses it for the HTML meta description and Open Graph description, with the blog tagline remaining as the fallback. Archive, category, and tag pages now define their own descriptions so previews are more specific instead of all sharing the same generic site tagline. --- templates/blog-month-index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/blog-month-index.html') diff --git a/templates/blog-month-index.html b/templates/blog-month-index.html index d114628..96c5f93 100644 --- a/templates/blog-month-index.html +++ b/templates/blog-month-index.html @@ -12,7 +12,9 @@ type="text/css" href="{{ '/static/css/category.css'|asseturl }}"> {% endblock %} -{% set title = "Monthly archive: " + this.date | dateformat('MMMM y') %} +{% set month_name = this.date | dateformat("MMMM y") %} +{% set title = "Monthly archive: " + month_name %} +{% set description = "Browse posts from " + month_name + " on Still Thinking About It." %} {% block content %} {% set post_count = this.children.count() %}
-- cgit v1.3.1