From aa47fa3c52c4fded3007fdfb0d790c8128e3d832 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 14 Mar 2024 07:54:20 +0000 Subject: [PATCH] Fix datetimes on homepage --- src/feeds/rss.njk | 2 +- src/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/feeds/rss.njk b/src/feeds/rss.njk index 3cb6aa3..52c613d 100644 --- a/src/feeds/rss.njk +++ b/src/feeds/rss.njk @@ -13,7 +13,7 @@ eleventyExcludeFromCollections: true {%- for post in collections.posts | reverse %} {%- set absolutePostUrl = post.url | absoluteUrl(metadata.site.url) %} - {{ post.data.title }} + {{ post.data.title | safe }} {{ absolutePostUrl }} {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} {{ post.date | dateToRfc822 }} diff --git a/src/index.html b/src/index.html index 45fef11..c9608f0 100644 --- a/src/index.html +++ b/src/index.html @@ -18,7 +18,7 @@ layout: base.njk {% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}

- I'm a software engineer who loves building things for the web. I consider myself a generalist, but on a given day I'll probably be working with Typescript, HTML and CSS, and on occasion a touch of .NET. I work for Triptease as a Senior Software Engineer, and on the side I'm learning Rust by building a Sinclair BASIC Interpreter. + I'm a software engineer who loves building things for the web. I consider myself a generalist, but on a given day I'll probably be working with Typescript, HTML and CSS, and on occasion a touch of .NET. I work for Triptease as a Senior Software Engineer, and on the side I'm learning Rust by building a Sinclair BASIC Interpreter.

@@ -35,7 +35,7 @@ layout: base.njk