Compare commits

..

No commits in common. "34c37f37e15851560ff9d9969144a96e913ec0d3" and "5389651b2793ca170a9f8ac2a8ce5d54df0a1f34" have entirely different histories.

4 changed files with 8 additions and 17 deletions

View File

@ -5,8 +5,6 @@ export default {
language: "en", language: "en",
description: "The personal website and blog of Nathan Upchurch.", description: "The personal website and blog of Nathan Upchurch.",
author: { author: {
givenName: "Nathan"
familyName: "Upchurch"
name: "Nathan Upchurch", name: "Nathan Upchurch",
email: "blog@upchur.ch", email: "blog@upchur.ch",
url: "https://nathanupchurch.com/me", url: "https://nathanupchurch.com/me",

View File

@ -3,23 +3,17 @@
<script type="application/ld+json"> <script type="application/ld+json">
{ {
"@context": "https://schema.org/", "@context": "https://schema.org/",
"@type": "BlogPosting", "@type": "Article",
"articleBody": "{{ content | striptags }}" "headline": "{{ title }}",
"author": { "author": {
"@type": "Person", "@type": "Person",
"familyName": "{{ metadata.author.familyName }}", "name": "{{ metadata.author.name }}"
"givenName": "{{ metadata.author.givenName }}",
"image": "{{ metadata.url }}{{ metadata.author.profilePic }}",
"name": "{{ metadata.author.name }}",
"url": "{{ metadata.author.url }}"
}, },
"datePublished": "{{ date }}", "datePublished": "{{ date }}",
"description": "{% if synopsis %}{{ synopsis}}{% endif %}", "description": "{% if synopsis %}{{ synopsis}}{% endif %}",
"headline": "{{ title }}",
"image": "{% if imageURL %}{{ imageURL | htmlBaseUrl(metadata.url) }}{% else %}{{ metadata.defaultPostImageURL | htmlBaseUrl(metadata.url) }}{% endif %}", "image": "{% if imageURL %}{{ imageURL | htmlBaseUrl(metadata.url) }}{% else %}{{ metadata.defaultPostImageURL | htmlBaseUrl(metadata.url) }}{% endif %}",
"inLanguage": "{{ metadata.language }}",
"name": "{{ title }}",
"url": "{{ page.url | htmlBaseUrl(metadata.url) }}", "url": "{{ page.url | htmlBaseUrl(metadata.url) }}",
"articleBody": "{{ content | striptags }}"
} }
</script> </script>
<!-- Open Graph --> <!-- Open Graph -->

View File

@ -7,7 +7,7 @@ eleventyNavigation:
<h1>Nathans Blog.</h1> <h1>Nathans Blog.</h1>
<p class="page-block nodropcap"> <p class="page-block nodropcap">
Thank you for visiting my blog; I write about lots of things here, from <a href="/tags/storytime">personal stories,</a> to <a href="/tags/gnu-linux">tech,</a> <a href="/tags/vegan-cooking">food,</a> and <a href="/tags/incense">incense.</a> Explore all posts below or <a href="/tags/">choose a topic.</a> Looking for something in particular? Have a look at <a href="/tags/">this convenient list of post categories</a> to filter results by topic.
</p> </p>
<h2>Whats New:</h2> <h2>Whats New:</h2>
{% set postslist = collections.posts %} {% set postslist = collections.posts %}

View File

@ -11,9 +11,8 @@ pagination:
addAllPagesToCollections: true addAllPagesToCollections: true
layout: layouts/base.njk layout: layouts/base.njk
eleventyComputed: eleventyComputed:
title: Posts tagged “{{ tag }}” title: Tagged “{{ tag }}”
permalink: "/tags/{{ tag | slugify }}/" permalink: "/tags/{{ tag | slugify }}/"
description: A list of every post I've written tagged “{{ tag }}.”
--- ---
<h1>More posts tagged “{{ tag }}.” <h1>More posts tagged “{{ tag }}.”
<a href="/feeds/{{ tag | slugify }}.xml"> <a href="/feeds/{{ tag | slugify }}.xml">
@ -38,7 +37,7 @@ eleventyComputed:
</svg> </svg>
</a> </a>
</h1> </h1>
<p class="page-block nodropcap">Heres everything Ive posted tagged “{{ tag }}.” Want to be notified when I post on this topic? <a href="/feeds/{{ tag | slugify }}.xml">Subscribe to “{{ tag }}.”</a></p> <p class="page-block nodropcap">Heres everything Ive posted with the tag “{{ tag }}:”</p>
{% set postslist = collections[ tag ] %} {% set postslist = collections[ tag ] %}
{% include "postslist.njk" %} {% include "postslist.njk" %}