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

View file

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

View file

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

View file

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

View file

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