try automatic blurbs

This commit is contained in:
Nycki 2024-09-18 19:27:56 -07:00
parent b5d5d7d185
commit 3486529a29

View file

@ -4,7 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
{% set blurb = content | truncate(240) %}
<meta name="description" content="{{ description or blurb or metadata.description }}">
<link rel="alternate" href="/blog/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="/blog/feed.json" type="application/json" title="{{ metadata.title }}">
<meta name="generator" content="{{ eleventy.generator }}">