Skip to content

Commit b54f2e8

Browse files
committed
Fix meta description
1 parent b8a2c70 commit b54f2e8

6 files changed

+8
-8
lines changed

Diff for: _layouts/base.liquid

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<meta charset="utf-8">
99
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1010
<title>{{ fullTitle }}</title>
11-
<meta name="description" content="{{ description or metadata.description }}">
11+
<meta name="description" content="{{ description | default: metadata.description }}">
1212
<meta name="generator" content="{{ eleventy.generator }}">
1313

1414
<meta name="og:title" content="{{ fullTitle }}">
15-
<meta name="og:description" content="{{ description or metadata.description }}">
15+
<meta name="og:description" content="{{ description | default: metadata.description }}">
1616
<meta name="og:type" content="website">
1717
<meta name="og:url" content="{{ page.url }}">
1818
{% ogImage metaImage %}

Diff for: content/index.liquid

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ title: Blog Posts
1818
: {{ post.data.subtitle }}
1919
{% endif %}
2020
</h2>
21-
<p class="font-grotesk text-textSecondary lh-[1.25]">{{ post.data.tagline }}</p>
21+
<p class="font-grotesk text-textSecondary lh-[1.25]">{{ post.data.description }}</p>
2222
</a>
2323
</li>
2424
{% endfor %}

Diff for: content/posts/2019-03-19_One_Does_Not_Simply_Walk_Into_Mordor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: One Does Not Simply Walk Into Mordor
33
subtitle: Cycling a Thousand Miles in New Zealand
4-
tagline: Thoughts and photos from a two-week cycling tour from Auckland to Queenstown.
4+
description: Thoughts and photos from a two-week cycling tour from Auckland to Queenstown.
55
date: 2019-03-19
66
permalink: one-does-not-simply-walk-into-mordor/
77
tags: post

Diff for: content/posts/2019-10-23_Debugging_the_TypeScript_Codebase.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Debugging the TypeScript Codebase
3-
tagline: The TypeScript codebase can be intimidatingly large. The best way to learn your way around it is to set some breakpoints and step through it.
3+
description: The TypeScript codebase can be intimidatingly large. The best way to learn your way around it is to set some breakpoints and step through it.
44
date: 2019-10-23
55
permalink: debugging-the-typescript-codebase/
66
tags: post

Diff for: content/posts/2020-03-13_Marketing-Web-Rules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Marketing Web Rules
33
subtitle: A Tale of CSS Modules and Whimsy
4-
tagline: Works on my machine?
4+
description: Works on my machine?
55
date: 2020-03-13
66
permalink: marketing-web-rules/
77
tags: post

Diff for: content/posts/2023-11-12_New_Blog.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: New Blog
3-
tagline: Moving from Gatsby to Eleventy and breaking a three-and-a-half-year writing hiatus.
3+
description: Moving from Gatsby to Eleventy and breaking a three-and-a-half-year writing hiatus.
44
date: 2023-11-12
55
permalink: new-blog/
66
tags: post
@@ -17,7 +17,7 @@ In considering relaunching the blog and beginning to write again, I didn’t jus
1717

1818
I was tempted to redesign everything, but in the spirit of trying to actually write again instead of spending forever just working on the site, decided not to. I made a few small changes that I’m really happy with:
1919

20-
- Posts on the [index page](/) now have an intentional tagline/description, rendered in a sans-serif, instead of an arbitrary truncation of the post content. I bought the regular weight of [Founders Grotesk](https://klim.co.nz/retail-fonts/founders-grotesk/) for this purpose, which I previously had only in medium for photo captions, footer text, and the About page link. I replaced some of these uses with the regular weight and like the way it lightened things up a bit.
20+
- Posts on the [index page](/) now have an intentional description, rendered in a sans-serif, instead of an arbitrary truncation of the post content. I bought the regular weight of [Founders Grotesk](https://klim.co.nz/retail-fonts/founders-grotesk/) for this purpose, which I previously had only in medium for photo captions, footer text, and the About page link. I replaced some of these uses with the regular weight and like the way it lightened things up a bit.
2121
- I removed the light/dark switcher in favor of using the system preference unconditionally.
2222
- Code blocks always use a dark theme instead of switching between light and dark with the rest of the site. I am not anti-light-theme for code but I didn’t like the way it looked in this context. I also updated the dark theme colors to match VS Code’s new Dark Modern, which is the best syntax theme, having recently taken the crown over the previous best, VS Code’s Default Dark+.
2323
- Links in post bodies are now permanently underlined with no hover effect, and have the same color as normal body text. They used to be blue, with an underline on hover.

0 commit comments

Comments
 (0)