UI updates

This commit is contained in:
2025-01-23 14:24:51 -06:00
parent ef37d7622d
commit 153b178c40
10 changed files with 73 additions and 40 deletions

View File

@ -5,7 +5,7 @@ eleventyNavigation:
order: 2
---
<article>
<h1>About me and my website.</h1>
<h1>About me and my&nbsp;website.</h1>
<p class="page-block nodropcap">Im a prolific vegan home cook, classical trombonist, incense maker, a <abbr title="Free/Libre Open Source Software">FLOSS</abbr> enthusiast, daily GNU/Linux user and unabashed <a href="https://kde.org/">KDE</a> stan, designer, programmer, music producer, print lover, and human with too many interests and too little time. This is my little corner of the internet where I talk about whatever I like without worrying about maintaining a personal brand, or constraining subject matter to topics which might help advance my career or establish me as a thought leader. Im here to express myself and have fun writing about topics I enjoy. If youd like to learn more about my professional accomplishments and work, Ill link my professional website here when I get around to it.</p>
<a href="./colophon/">

View File

@ -6,10 +6,10 @@ eleventyNavigation:
key: Blog
order: 3
---
<h1>Nathans blog.</h1>
<h1>My personal blog.</h1>
<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>. Want to know what I've been reading? <a href="../blogroll/">Exlore the blogroll</a>.<br />
I write about whatever I like 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>.<br />
<a href="/tags/">
<button type="button">Topics »</button>

View File

@ -33,7 +33,7 @@ permalink: "/feeds/{{ tag | slugify }}.xml"
{% if post.data.imageURL %}{% set imageURL %}{{ post.data.imageURL | htmlBaseUrl(metadata.url) }}{% endset %}{% endif %}
{% set defaultImageURL %}{{ metadata.defaultPostImageURL | htmlBaseUrl(metadata.url) }}{% endset %}
<entry>
<title>{{ post.data.title }}</title>
<title>{{ post.data.title | safe }}</title>
<description>{{ post.data.description | truncate(150) }}</description>
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | dateToRfc3339 }}</updated>
@ -44,6 +44,7 @@ permalink: "/feeds/{{ tag | slugify }}.xml"
<link href="{{ absolutePostUrl }}"/>
</image>
<content type="html">{{ post.templateContent | transformWithHtmlBase(absolutePostUrl, post.url) }}</content>
<hr>
</entry>
{%- endfor %}
</feed>

View File

@ -4,9 +4,9 @@ eleventyNavigation:
key: Pics
order: 4
---
<h1>Image Galleries</h1>
<h1>My image galleries.</h1>
<p class="page-block nodropcap">
Some pictures I thought would be worth posting.
Photography trips, memes, and other pictures I thought would be worth sharing.
</p>
<section class="postlist">
<div class="postlist-item-container">
@ -23,10 +23,15 @@ Some pictures I thought would be worth posting.
{{ gallery.title }}
</h3>
</a>
<time class="postlist-date" datetime="{{ gallery.date | htmlDateString}}">{{ gallery.date | readableDate("LLLL yyyy") }}</time>
<p>{{ gallery.synopsis | truncate(105) | safe }}</p>
<div class="post-metadata">
<div class="post-metadata-copy">
<p>Posted on the&nbsp;<time class="postlist-date" datetime="{{ gallery.date | htmlDateString}}">{{ gallery.date | niceDate("LLLL yyyy") }}</time></p>
</div>
</div>
</div>
</article>
<hr>
{% endfor %}
</div>
</section>

View File

@ -3,7 +3,7 @@ layout: layouts/home.njk
eleventyNavigation:
key: Home
order: 1
numberOfLatestPostsToShow: 5
numberOfLatestPostsToShow: 3
numberOfNowPostsToShow: 1
---
<div class="now">
@ -14,11 +14,15 @@ numberOfNowPostsToShow: 1
{% set postslistCounter = postsCount %}
{% set showPostListHeader = false %}
{% include "postslist.njk" %}
{% set morePosts = postsCount - numberOfNowPostsToShow %}
{% if morePosts > 0 %}
<a href="/now/">
<button type="button">
See more on the “now” page »
See {{ morePosts }} more »
</button>
</a>
{% endif %}
</div>
{% set postsCount = collections.posts | length %}
@ -32,7 +36,10 @@ numberOfNowPostsToShow: 1
{% if morePosts > 0 %}
<a href="/blog/">
<button type="button">
See {{ morePosts }} more post{% if morePosts != 1 %}s{% endif %} in the blog »
See {{ morePosts }} more »
</button>
</a>
</a>&nbsp;
{% endif %}
<a href="/tags/">
<button type="button">Topics »</button>
</a>

View File

@ -4,12 +4,12 @@ title: Nathan Upchurch | Now
structuredData: none
---
<article class="post">
<h1>Now: Whats Been Going on Lately?</h1>
<h1>Now: Life updates.</h1>
{% set now = collections.now | last %}
<h2>{{ now.data.title }}</h2>
{{ now.content | safe }}
</article>
<p class="metadata">Updated: {{ now.date | readableDate }} |&nbsp;<a href="https://nownownow.com/about">What is a now page?</a></p>
<p class="metadata">Updated on the {{ now.date | niceDate }} by {{ metadata.author.name }} |&nbsp;<a href="https://nownownow.com/about">What is a now page?</a></p>
{% set postsCount = collections.now | removeMostRecent | length %}
{% if postsCount > 1 %}

View File

@ -4,10 +4,10 @@ layout: layouts/base.njk
title: Nathan Upchurch | Tags
structuredData: none
---
<h1>Here are some things I like to talk about.</h1>
<h1>Some things I like to&nbsp;talk about:</h1>
<p class="page-block nodropcap">
Click on a tag to see all posts on the topic.
Click on a tag to see all posts on the topic; you can also subscribe to an RSS feed of any individual topic on the topic page.
</p>
<ul class="taglist">