From 779cce9f9d70b6eb4db1be836bab3c28aa10090b Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Fri, 29 Mar 2024 14:19:01 -0500 Subject: [PATCH] Fix my HTML and integrate prettier --- _includes/header.njk | 9 ++- _includes/layouts/post.njk | 16 +++-- _includes/mastodonComments.njk | 1 + _includes/nextLast.njk | 107 ++++++++++++++++++--------------- content/about/index.md | 10 +-- content/blog/patience.md | 6 +- eleventy.config.js | 12 +++- package.json | 3 +- public/css/code.css | 3 +- 9 files changed, 102 insertions(+), 65 deletions(-) diff --git a/_includes/header.njk b/_includes/header.njk index a4b88d1..c5c8b1e 100644 --- a/_includes/header.njk +++ b/_includes/header.njk @@ -1,5 +1,12 @@ Skip to main content
- + + + {% if not hideNav %}{% include "nav.njk" %}{% endif %}
diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 14cb1bf..722303d 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -9,13 +9,13 @@ layout: layouts/base.njk
{% if author %} - {% if author.url %}{% endif %} -

{% if author.name %}{{ author.name }}, {% endif %}{% if author.url %}{% endif %}

+

{% if author.url %}{% endif %} + {% if author.name %}{{ author.name }}, {% endif %}{% if author.url %}{% endif %}

{% else %} - {% if metadata.author.url %}{% endif %} -

{% if metadata.author.name %}{{ metadata.author.name }}, {% endif %}{% if metadata.author.url %}{% endif %}

+

{% if metadata.author.url %}{% endif %} + {% if metadata.author.name %}{{ metadata.author.name }}, {% endif %}{% if metadata.author.url %}{% endif %}

{% endif %} @@ -23,7 +23,13 @@ layout: layouts/base.njk
diff --git a/_includes/mastodonComments.njk b/_includes/mastodonComments.njk index bd963d6..4d3921b 100644 --- a/_includes/mastodonComments.njk +++ b/_includes/mastodonComments.njk @@ -11,6 +11,7 @@ Reply on Mastodon to comment » +