try automatic blurbs
This commit is contained in:
parent
b5d5d7d185
commit
3486529a29
1 changed files with 3 additions and 1 deletions
|
@ -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 }}">
|
||||
|
|
Loading…
Reference in a new issue