fix: footer update note wrapping + indentation

This commit is contained in:
Cory Dransfeldt 2024-09-13 19:32:17 -07:00
parent 5cc4abcbd7
commit 99283e731a
No known key found for this signature in database
5 changed files with 26 additions and 24 deletions

16
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "24.8.2",
"version": "24.8.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "24.8.2",
"version": "24.8.3",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.5.0",
@ -684,9 +684,9 @@
"peer": true
},
"node_modules/@types/node": {
"version": "22.5.4",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz",
"integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -1743,9 +1743,9 @@
"license": "MIT"
},
"node_modules/electron-to-chromium": {
"version": "1.5.21",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.21.tgz",
"integrity": "sha512-+rBAerCpQvFSPyAO677i5gJuWGO2WFsoujENdcMzsrpP7Ebcc3pmpERgU8CV4fFF10a5haP4ivnFQ/AmLICBVg==",
"version": "1.5.23",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.23.tgz",
"integrity": "sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA==",
"dev": true,
"license": "ISC"
},

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "24.8.2",
"version": "24.8.3",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"scripts": {

View file

@ -9,6 +9,8 @@ layout: base
{%- endif -%}
{%- endcapture -%}
<div class="main-wrapper">
<main>{{ content }}</main>
{% render "partials/footer.liquid", page:page, nav:nav, updated:updateTime %}
<main>
{{ content }}
{% render "partials/footer.liquid", page:page, nav:nav, updated:updateTime %}
</main>
</div>

View file

@ -1,9 +1,9 @@
<section class="main-title">
<h1>
{%- if page.url != '/' -%}
<a href="/" tabindex="0">{{ globals.site_name }}</a>
<a href="/" tabindex="0">{{ globals.site_name }}</a>
{%- else -%}
{{ globals.site_name }}
{{ globals.site_name }}
{%- endif -%}
</h1>
{% render "partials/nav/menu.liquid", page:page, nav:nav %}

View file

@ -7,17 +7,17 @@
</h2>
</div>
{%- for post in posts -%}
<article class="h-entry">
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %e, %Y" }}
</time>
<a href="{{ post.slug }}">
<h3>{{ post.title }}</h3>
</a>
<span class="p-author h-card hidden">{{ globals.site_name }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div>
{{ post.description | normalize_whitespace | markdown | truncatewords: 50 }}
</article>
<article class="h-entry">
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %e, %Y" }}
</time>
<a href="{{ post.slug }}">
<h3>{{ post.title }}</h3>
</a>
<span class="p-author h-card hidden">{{ globals.site_name }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div>
{{ post.description | normalize_whitespace | markdown | truncatewords: 50 }}
</article>
{%- endfor -%}
{%- if postType != 'featured' -%}
<a class="icon-link" href="/posts">View all posts {% tablericon "arrow-right" "View all posts" %}</a>