From 0054aa67de9b80aacc772c901e766e126ac4a088 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Tue, 8 Apr 2025 18:29:40 -0500 Subject: [PATCH] Tag page updates, changelog --- _data/metadata.js | 26 +++--- _includes/postslist.njk | 2 +- content/about/colophon/index.md | 13 ++- content/blog.njk | 5 +- content/changelog.md | 4 + content/galleries/index.njk | 3 - content/me.md | 3 + content/tags.njk | 44 ++++------ public/img/icons/breeze/kstars_supernovae.svg | 88 +++++++++++++++++++ 9 files changed, 138 insertions(+), 50 deletions(-) create mode 100644 public/img/icons/breeze/kstars_supernovae.svg diff --git a/_data/metadata.js b/_data/metadata.js index 0c91a9d..87daf87 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -25,36 +25,42 @@ export default { linkDisplay: "Blog", linkURL: "/blog/", }, + { + iconURL: "/img/icons/breeze/view-list-text.svg", + linkDisplay: "Blogroll", + linkURL: "/blogroll/", + }, { iconURL: "/img/icons/breeze/view-preview.svg", linkDisplay: "Galleries", linkURL: "/galleries/", }, - { - iconURL: "/img/icons/breeze/document-edit-sign.svg", - linkDisplay: "Quizzes", - linkURL: "/quizzes/", - }, { iconURL: "/img/icons/breeze/news-subscribe.svg", linkDisplay: "Life Updates", linkURL: "/now/", }, + { + iconURL: "/img/icons/breeze/document-edit-sign.svg", + linkDisplay: "Quizzes", + linkURL: "/quizzes/", + }, + { iconURL: "/img/icons/breeze/map-globe.svg", linkDisplay: "Sitemap", linkURL: "/sitemap/", }, - { - iconURL: "/img/icons/breeze/view-list-text.svg", - linkDisplay: "Blogroll", - linkURL: "/blogroll/", - }, { iconURL: "/img/icons/breeze/tag.svg", linkDisplay: "Topics", linkURL: "/tags/", }, + { + iconURL: "/img/icons/breeze/kstars_supernovae.svg", + linkDisplay: "Wishes", + linkURL: "/wish/", + }, ], postlistHeaderText: "Latest blog posts:", socialLinks: [ diff --git a/_includes/postslist.njk b/_includes/postslist.njk index e85daa6..c325e5b 100644 --- a/_includes/postslist.njk +++ b/_includes/postslist.njk @@ -1,5 +1,5 @@
- {% if showPostListHeader %}

{{ metadata.postlistHeaderText }}

{% endif %} + {% if postlistHeaderText %}

{{ postlistHeaderText }}

{% endif %}
{% for post in postslist | reverse %}
diff --git a/content/about/colophon/index.md b/content/about/colophon/index.md index 3fc9c0c..82ff3e5 100644 --- a/content/about/colophon/index.md +++ b/content/about/colophon/index.md @@ -6,8 +6,13 @@ structuredData: none # Colophon ## What I used to build this website -I built this website using [the 11ty static site generator](https://www.11ty.dev/), free and open source variable typefaces [Fraunces](https://fraunces.undercase.xyz/)[^1] and [Manrope](https://www.gent.media/manrope)[^2], and plain-old HTML, CSS, with some vanilla JavaScript for the web components that I built to handle comments. I used the handy calculators on [utopia.fyi](https://utopia.fyi)[^3] to help me implement fluid typography and spacing. [Here's the repo](https://upchur.ch/gitea/n_u/nathanupchurch.com) in case you'd like to have a look at the source. +I built this website in plain-old HTML, CSS, and a touch of vanilla JavaScript using [Zach Leatherman](https://www.zachleat.com/)'s [11ty static site generator](https://www.11ty.dev/) and Mozilla's [Nunjucks templating language](https://mozilla.github.io/nunjucks/). I used free and open source variable typefaces [Fraunces](https://fraunces.undercase.xyz/), designed by Phaedra Charles and Flavia Zimbardi[^1], and [Manrope](https://www.gent.media/manrope), designed by Mikhail Sharanda[^2]. -[^1]: Designed by Phaedra Charles and Flavia Zimbardi, with contributions by Ethan Cohen, and Andy Clymer. -[^2]: Designed by Mikhail Sharanda with thanks to Mirko Velimirovic for contribution. -[^3]: Created by James Gilyead & Trys Mudford. +The handy calculators on [utopia.fyi](https://utopia.fyi), created by James Gilyead and Trys Mudford, helped me implement fluid typography and spacing, which has allowed me to make this website responsive without using a single media query. The future is upon us. + +Icons on the index page navigator section are from the [Breeze icon set](https://develop.kde.org/frameworks/breeze-icons/) made by the fine folks at [KDE](https://kde.org/). + +If you'd like to inspect the source for this site, you can [find the repo here](https://upchur.ch/gitea/n_u/nathanupchurch.com). + +[^1]: With contributions by Ethan Cohen, and Andy Clymer. +[^2]: With contributions by Mirko Velimirovic. diff --git a/content/blog.njk b/content/blog.njk index 79dbb85..f0556dd 100644 --- a/content/blog.njk +++ b/content/blog.njk @@ -2,9 +2,7 @@ layout: layouts/base.njk title: Nathan Upchurch | Blog structuredData: none -eleventyNavigation: - key: Blog - order: 3 +postlistHeaderText: "What’s New:" ---

My personal blog.

@@ -18,6 +16,5 @@ I write about whatever I like here, from personal stor

-

What’s New:

{% set postslist = collections.posts %} {% include "postslist.njk" %} diff --git a/content/changelog.md b/content/changelog.md index f941b0b..95372e5 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -4,6 +4,10 @@ title: Nathan Upchurch | Changelog structuredData: none --- # Changelog +* 2025-04-08 + * Updated the [index page](/) with a new "navigator" feature, and removed the post lists for a cleaner look. + * On the individual [tag](/tags/) pages: got rid of the big RSS logo, tweaked the text a little, added a "subscribe" button, and moved the buttons above the post list. + * Updated the [colophon](/about/colophon/). * 2025-04-03 * Added [Graphic Rage with Aubrey Hirsch](https://aubreyhirsch.substack.com/) and [Usermag](https://www.usermag.co/) to the [blogroll](/blogroll). * 2025-03-28 diff --git a/content/galleries/index.njk b/content/galleries/index.njk index 196cf18..fff8cf9 100644 --- a/content/galleries/index.njk +++ b/content/galleries/index.njk @@ -1,8 +1,5 @@ --- layout: layouts/base.njk -eleventyNavigation: - key: Pics - order: 4 ---

My image galleries.

diff --git a/content/me.md b/content/me.md index f2d83f4..78399ed 100644 --- a/content/me.md +++ b/content/me.md @@ -1,4 +1,7 @@ --- title: Nathan Upchurch layout: layouts/links.njk +eleventyNavigation: + key: Contact + order: 3 --- diff --git a/content/tags.njk b/content/tags.njk index 80a1079..7fe462d 100644 --- a/content/tags.njk +++ b/content/tags.njk @@ -10,41 +10,29 @@ pagination: - tagList addAllPagesToCollections: true layout: layouts/base.njk +postlistHeaderText: "Latest Posts:" structuredData: none eleventyComputed: title: Posts tagged “{{ tag }}” permalink: "/tags/{{ tag | slugify }}/" description: A list of every post I've written tagged “{{ tag }}.” --- -

More posts tagged “{{ tag }}.” - - - - RSS feed for posts tagged {{tag}}. - - - - - - - +

Topic: “{{ tag }}.”

-

Here’s everything I’ve posted tagged “{{ tag }}.” Want to be notified when I post on this topic? Subscribe to “{{ tag }}.”

+

+Here’s everything I’ve posted tagged “{{ tag }}.” Want to be notified when I post on this topic? Subscribe to “{{ tag }}” using the button below.
+ + + + + + +

{% set postslist = collections[ tag ] %} {% include "postslist.njk" %} - - - diff --git a/public/img/icons/breeze/kstars_supernovae.svg b/public/img/icons/breeze/kstars_supernovae.svg new file mode 100644 index 0000000..50c68e0 --- /dev/null +++ b/public/img/icons/breeze/kstars_supernovae.svg @@ -0,0 +1,88 @@ + + + + + + + image/svg+xml + + + + + + + + + + + +