chore: bug fixes, organization, metadata
This commit is contained in:
parent
ebdcf8021e
commit
63e8c2ec30
21 changed files with 54 additions and 78 deletions
8
src/pages/books/years/2024.html
Normal file
8
src/pages/books/years/2024.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: 2024 • Books
|
||||
year: 2024
|
||||
layout: book-year
|
||||
permalink: "/books/years/2024.html"
|
||||
---
|
||||
<p>This is everything I've read in 2024 — continuing my trend of concentrating on science fiction, tech coverage, pop sci, autobiographies and coverage of musicians I appreciate.</p>
|
||||
<hr class="large-spacing" />
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
permalink: /blogroll.opml
|
||||
layout: null
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<opml version="1.0">
|
||||
<head>
|
||||
<title>OPML for all feeds in Cory Dransfeldt's blogroll</title>
|
||||
<dateCreated>{{ page.date | stringToRFC822Date }}</dateCreated>
|
||||
</head>
|
||||
<body>
|
||||
{%- for blog in blogroll -%}
|
||||
<outline text="{{ blog.name }}" title="{{ blog.name }}" type="rss" xmlUrl="{{ blog.feed }}" htmlUrl="{{ blog.url }}"/>
|
||||
{%- endfor -%}
|
||||
</body>
|
||||
</opml>
|
|
@ -4,10 +4,6 @@ layout: default
|
|||
permalink: /blogroll.html
|
||||
description: 'These are awesome blogs that I enjoy and you may enjoy too.'
|
||||
---
|
||||
{% capture css %}
|
||||
{% render "../assets/styles/pages/blogroll.css" %}
|
||||
{% endcapture %}
|
||||
<style>{{ css }}</style>
|
||||
<h2 class="page-header">{{ title }}</h2>
|
||||
<p>You can <a onclick="clicky?.log('/blogroll','OPML download', 'download');" href="/blogroll.opml">download an OPML file</a> containing all of these feeds and import them into your RSS reader.</p>
|
||||
<table>
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
permalink: /sitemap.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{% for page in collections.all %}
|
||||
{% if not page.data.draft %}
|
||||
<url>
|
||||
<loc>{{ meta.url }}{{ page.url }}</loc>
|
||||
<lastmod>{{ page.date | isoDateOnly: '-' }}</lastmod>
|
||||
<changefreq>{%- if page.data.changeFreq -%}{{ page.data.changeFreq }}{%- else -%}monthly{%- endif -%}</changefreq>
|
||||
<priority>{%- if page.data.priority -%}{{ page.data.priority }}{%- else -%}0.5{%- endif %}</priority>
|
||||
</url>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</urlset>
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
pagination:
|
||||
data: collections
|
||||
size: 1
|
||||
alias: tag
|
||||
permalink: /tags/{{ tag }}/
|
||||
eleventyComputed:
|
||||
title: '{{ tag }}'
|
||||
---
|
||||
{% assign posts = collections[tag] | reverse %}
|
||||
{% for post in posts %}
|
||||
{% assign author = post.data.link | stripUtm | authorLookup %}
|
||||
<article class="h-entry">
|
||||
<div class="flex-centered gap-xs icon-small icon-light">
|
||||
{% if author %}{% tablericon "link" "Link" %}{% endif %}
|
||||
{% tablericon "calendar-month" "Date" %}
|
||||
<time class="dt-published" datetime="{{ post.date }}">
|
||||
{{ post.date | date: "%B %e, %Y" }}
|
||||
</time>
|
||||
</div>
|
||||
<a href="{{ post.url }}">
|
||||
<h2 class="flex-centered">{{ post.data.title }}</h2>
|
||||
</a>
|
||||
{% if author %}via {{ author }}{% endif %}
|
||||
{% if post.data.excerpt %}
|
||||
<p class="p-summary">{{ post.data.post_excerpt | markdown }}</p>
|
||||
{% else %}
|
||||
<p class="p-summary">{{ post.data.description | markdown }}</p>
|
||||
{% endif %}
|
||||
<p><a href="{{ post.url }}">Read more →</a></p>
|
||||
</article>
|
||||
{% endfor %}
|
Reference in a new issue