diff options
| author | Dennis Fink | 2026-06-19 18:35:56 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-06-19 18:35:56 +0200 |
| commit | cc6003d997e041127ac081e14a3213c4b898860d (patch) | |
| tree | e08ae35574e8465994953bdc3126039ecce21516 /templates/blog-year-index.html | |
| parent | 41e364a3278ebe673cc851a80c206885076ed569 (diff) | |
| download | dennisfink.me-cc6003d997e041127ac081e14a3213c4b898860d.tar.gz dennisfink.me-cc6003d997e041127ac081e14a3213c4b898860d.zip | |
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.
Diffstat (limited to 'templates/blog-year-index.html')
| -rw-r--r-- | templates/blog-year-index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/blog-year-index.html b/templates/blog-year-index.html index 138cc86..b7044ac 100644 --- a/templates/blog-year-index.html +++ b/templates/blog-year-index.html @@ -13,6 +13,7 @@ href="{{ '/static/css/category.css'|asseturl }}"> {% endblock %} {% set title = "Yearly archive: " + this.key %} +{% set description = "Browse posts from " + this.key + " on Still Thinking About It." %} {% block content %} {% set post_count = this.children.count() %} <article> |
