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
|
title: About
|
||||||
|
description: All about me!
|
||||||
---
|
---
|
||||||
|
|
||||||
# About me
|
# About me
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Blogroll
|
title: Blogroll
|
||||||
|
description: A collection of my favourite sites.
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="[ flow ]">
|
<section class="[ flow ]">
|
||||||
|
|
|
@ -9,6 +9,7 @@ eleventyExcludeFromCollections: true
|
||||||
permalink: /catalogue/{{ type | pluralize | slugify }}/index.html
|
permalink: /catalogue/{{ type | pluralize | slugify }}/index.html
|
||||||
eleventyComputed:
|
eleventyComputed:
|
||||||
title: Catalogue - {{ type | pluralize | capitalize }}
|
title: Catalogue - {{ type | pluralize | capitalize }}
|
||||||
|
description: My thoughts on various {{ type | pluralize }}.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% from "macros/catalogue.njk" import yearList %}
|
{% from "macros/catalogue.njk" import yearList %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Catalogue
|
title: Catalogue
|
||||||
|
description: A collection of media I've consumed in one way or another.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% from "macros/catalogue.njk" import yearList %}
|
{% from "macros/catalogue.njk" import yearList %}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Changelog
|
title: Changelog
|
||||||
|
eleventyComputed:
|
||||||
|
description: All of the latest changes on {{ meta.siteName }}.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: "layouts/base"
|
|
||||||
title: Colophon
|
title: Colophon
|
||||||
|
description: A little bit of everything about this site.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Colophon
|
# Colophon
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: /now
|
title: /now
|
||||||
|
description: What's going on now and all the latest with myself.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% set recentTrack = lastfm.recentTracks[0] %}
|
{% set recentTrack = lastfm.recentTracks[0] %}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: "layouts/base"
|
|
||||||
permalink: /posts/index.html
|
|
||||||
title: Posts
|
title: Posts
|
||||||
|
description: Read all of my posts.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% from "macros/posts.njk" import yearList %}
|
{% from "macros/posts.njk" import yearList %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Styleguide
|
title: Styleguide
|
||||||
|
description: A demo of the site's theme.
|
||||||
---
|
---
|
||||||
|
|
||||||
<h1>Heading one</h1>
|
<h1>Heading one</h1>
|
||||||
|
|
|
@ -6,6 +6,8 @@ pagination:
|
||||||
filter:
|
filter:
|
||||||
- post
|
- post
|
||||||
permalink: /tags/{{ tag | slugify }}/index.html
|
permalink: /tags/{{ tag | slugify }}/index.html
|
||||||
|
eleventyComputed:
|
||||||
|
description: Browse all posts tagged with "{{ tag }}".
|
||||||
---
|
---
|
||||||
|
|
||||||
{% from "macros/posts.njk" import yearList %}
|
{% from "macros/posts.njk" import yearList %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: All tags
|
title: All tags
|
||||||
|
description: Browse posts by all tags.
|
||||||
---
|
---
|
||||||
|
|
||||||
{% set tags = collections.post | allTagCounts %}
|
{% set tags = collections.post | allTagCounts %}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
title: /uses
|
title: /uses
|
||||||
|
description: A list of my favourite things and why I like 'em.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Uses
|
# Uses
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue