tag pages, meta keywords

This commit is contained in:
Joshua Seigler 2025-06-21 18:50:15 -04:00
parent 04e4b0e51e
commit c008cedf7c
17 changed files with 61 additions and 15 deletions

View file

@ -2,6 +2,7 @@
title: Books
layout: "page.njk"
omitTOC: true
keywords: books
---
These books had a big influence on my thinking and taste.

View file

@ -3,6 +3,7 @@ title: Now
layout: "page.njk"
date: 2025-06-07
omitTOC: true
keywords: now
---
I live in Southbridge, Massachusetts since 2022, with my wife Sara and our three cats. We're starting to get more integrated here. I'm about to start a new role, my third or fourth startup depending on how you count it. I'm active in [a local church](https://www.stmichaelorthodox.com/). I recently changed my mind about olives (I like them now).

View file

@ -1 +1,4 @@
---
keywords: recipes
---
My most-made or most-requested recipes:

24
site/pages/tag.njk Normal file
View file

@ -0,0 +1,24 @@
---
layout: "base.njk"
eleventyComputed:
title: "Posts tagged #{{ tag }}"
pagination:
data: collections
size: 1
alias: tag
filter:
- posts
- recipes
- timeline
permalink: /tags/{{ tag | slugify }}/
useTitle: true
---
{%- from "components/collectionList.njk" import collectionList with context -%}
<main>
<section data-pagefind-body>
{{ content | safe }}
</section>
{% if collections[tag] %}
{{ collectionList(collections[tag]) }}
{% endif %}
</main>

15
site/pages/tags.njk Normal file
View file

@ -0,0 +1,15 @@
---
layout: base.njk
title: Tags
permalink: /tags/
---
<main>
<ul class="collection">
{%- for tag, data in collections.categories -%}
<li>
<a class="tag" href="/posts/tag/{{tag | slugify}}">{{tag}}</a>
<aside>{{ data.count }}</aside>
</li>
{%- endfor -%}
</ul>
</main>

View file

@ -3,6 +3,7 @@ title: Unoffice Hours
layout: "page.njk"
omitDate: true
omitTOS: true
keywords: Unoffice hours
---
Working remotely has a lot of benefits, but we miss out on the serendipitous connections and socialization that happened just from being in the same room. Unoffice hours is part of an attempt to make new connections, but without applying the giant invisible filter of my own preferences.