feat: add meta description tags to various pages
This commit is contained in:
parent
8eb736f8dd
commit
3fc923551b
14 changed files with 20 additions and 6 deletions
6
src/catalogue/catalogue.11tydata.js
Normal file
6
src/catalogue/catalogue.11tydata.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
module.exports = {
|
||||
tags: "catalogue",
|
||||
eleventyComputed: {
|
||||
description: (data) => `My thoughts on ${data.title}.`,
|
||||
},
|
||||
};
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"tags": "catalogue"
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: About
|
||||
description: All about me!
|
||||
---
|
||||
|
||||
# About me
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Blogroll
|
||||
description: A collection of my favourite sites.
|
||||
---
|
||||
|
||||
<section class="[ flow ]">
|
||||
|
|
|
@ -9,6 +9,7 @@ eleventyExcludeFromCollections: true
|
|||
permalink: /catalogue/{{ type | pluralize | slugify }}/index.html
|
||||
eleventyComputed:
|
||||
title: Catalogue - {{ type | pluralize | capitalize }}
|
||||
description: My thoughts on various {{ type | pluralize }}.
|
||||
---
|
||||
|
||||
{% from "macros/catalogue.njk" import yearList %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Catalogue
|
||||
description: A collection of media I've consumed in one way or another.
|
||||
---
|
||||
|
||||
{% from "macros/catalogue.njk" import yearList %}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
title: Changelog
|
||||
eleventyComputed:
|
||||
description: All of the latest changes on {{ meta.siteName }}.
|
||||
---
|
||||
|
||||
# Changelog
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: "layouts/base"
|
||||
title: Colophon
|
||||
description: A little bit of everything about this site.
|
||||
---
|
||||
|
||||
# Colophon
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: /now
|
||||
description: What's going on now and all the latest with myself.
|
||||
---
|
||||
|
||||
{% set recentTrack = lastfm.recentTracks[0] %}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
---
|
||||
layout: "layouts/base"
|
||||
permalink: /posts/index.html
|
||||
title: Posts
|
||||
description: Read all of my posts.
|
||||
---
|
||||
|
||||
{% from "macros/posts.njk" import yearList %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: Styleguide
|
||||
description: A demo of the site's theme.
|
||||
---
|
||||
|
||||
<h1>Heading one</h1>
|
||||
|
|
|
@ -6,6 +6,8 @@ pagination:
|
|||
filter:
|
||||
- post
|
||||
permalink: /tags/{{ tag | slugify }}/index.html
|
||||
eleventyComputed:
|
||||
description: Browse all posts tagged with "{{ tag }}".
|
||||
---
|
||||
|
||||
{% from "macros/posts.njk" import yearList %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: All tags
|
||||
description: Browse posts by all tags.
|
||||
---
|
||||
|
||||
{% set tags = collections.post | allTagCounts %}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: /uses
|
||||
description: A list of my favourite things and why I like 'em.
|
||||
---
|
||||
|
||||
# Uses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue