chore: organize + clean up

This commit is contained in:
Cory Dransfeldt 2023-07-07 13:37:27 -07:00
parent ddc2e30375
commit 95581a079c
No known key found for this signature in database
27 changed files with 172 additions and 15 deletions

View file

@ -2,7 +2,7 @@
layout: main
---
{% include "header.liquid" %}
{% include "partials/header.liquid" %}
<div class="pt-8 prose dark:prose-invert hover:prose-a:text-blue-500 max-w-full">
{{ content }}

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/assets/feeds/books.xsl" type="text/xsl" media="screen"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>
{% block title %}Books • Cory Dransfeldt{% endblock %}
</title>
<link href="{{ pkg.homepage }}/books.xml" rel="self" />
<link href="{{ pkg.homepage }}/" />
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/" />
<updated>{% block update %}{{ books[0].finished | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated>
<id>{{ site.url }}</id>
<author>
<name>{{ site.name }}</name>
<email>{{ site.email }}</email>
</author>
<generator uri="https://11ty.dev" version="{{ eleventy.version }}">{{ eleventy.generator }}</generator>
{% block entries %}{% endblock %}
</feed>

View file

@ -6,5 +6,5 @@ layout: base
<main class="flex-1 w-10/12 max-w-screen-sm md:max-w-screen-md mx-auto">
{{ content }}
</main>
{% include "footer.liquid" %}
{% include "partials/footer.liquid" %}
</div>

View file

@ -1,7 +1,7 @@
---
layout: main
---
{% include "header.liquid" %}
{% include "partials/header.liquid" %}
<h2 class="m-0 text-xl flex flex-row items-center font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-8 mb-4">
{% heroicon "outline" "clock" "Currently" "height=28" %}
<div class="ml-1">Currently</div>

View file

@ -2,5 +2,5 @@
<h1 class="text-2xl md:text-3xl font-black leading-tight pb-5 md:pb-0">
<a class="text-gray-700 hover:text-purple-500 dark:text-gray-200 dark:hover:text-purple-500" href="/">{{ site.title }}</a>
</h1>
{% include "nav.liquid" %}
{% include "partials/nav.liquid" %}
</div>

View file

@ -1,7 +1,7 @@
---
layout: main
---
{% include "header.liquid" %}
{% include "partials/header.liquid" %}
<article class="h-entry" data-pagefind-body>
<h2 class="p-name text-xl md:text-2xl font-black leading-tight dark:text-gray-200 pt-8" data-pagefind-meta="title">{{ title }}</h2>
<span class="p-author h-card hidden">{{ site.title }}</span>
@ -11,7 +11,7 @@ layout: main
{{ content }}
</div>
</article>
{% include "post-tags.liquid" %}
{% include "webmentions.liquid" %}
{% include "author.liquid" %}
{% include "popular-posts.liquid" %}
{% include "partials/post-tags.liquid" %}
{% include "partials/webmentions.liquid" %}
{% include "partials/author.liquid" %}
{% include "partials/popular-posts.liquid" %}