Fix datetimes on homepage
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m40s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m40s
This commit is contained in:
parent
6bcfbe1c52
commit
aa47fa3c52
@ -13,7 +13,7 @@ eleventyExcludeFromCollections: true
|
|||||||
{%- for post in collections.posts | reverse %}
|
{%- for post in collections.posts | reverse %}
|
||||||
{%- set absolutePostUrl = post.url | absoluteUrl(metadata.site.url) %}
|
{%- set absolutePostUrl = post.url | absoluteUrl(metadata.site.url) %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.data.title }}</title>
|
<title>{{ post.data.title | safe }}</title>
|
||||||
<link>{{ absolutePostUrl }}</link>
|
<link>{{ absolutePostUrl }}</link>
|
||||||
<description>{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</description>
|
<description>{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }}</description>
|
||||||
<pubDate>{{ post.date | dateToRfc822 }}</pubDate>
|
<pubDate>{{ post.date | dateToRfc822 }}</pubDate>
|
||||||
|
@ -18,7 +18,7 @@ layout: base.njk
|
|||||||
{% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}
|
{% image metadata.author.avatar, "My face", "box circle u-photo", "300px", [300] %}
|
||||||
|
|
||||||
<p class="inline-block max-w-[45ch] p-note">
|
<p class="inline-block max-w-[45ch] p-note">
|
||||||
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 <a href="https://triptease.com" target="_blank" rel="noreferrer" class="p-org">Triptease</a> as a Senior Software Engineer, and on the side I'm learning Rust by building a <a href="/post/creating-a-sinclair-basic-interpreter/">Sinclair BASIC Interpreter</a/>.
|
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 <a href="https://triptease.com" target="_blank" rel="noreferrer" class="p-org">Triptease</a> as a Senior Software Engineer, and on the side I'm learning Rust by building a <a href="/post/creating-a-sinclair-basic-interpreter/">Sinclair BASIC Interpreter</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ layout: base.njk
|
|||||||
|
|
||||||
<ul class="stack-2xs" role='list'>
|
<ul class="stack-2xs" role='list'>
|
||||||
{% for post in collections.posts | reverse | take(3) %}
|
{% for post in collections.posts | reverse | take(3) %}
|
||||||
<li><a href="{{ post.url }}">{{ post.data.title | safe }}</a> <time datetime="{{ post.date }}">{{ post.date | dateDisplay }}</time></li>
|
<li><a href="{{ post.url }}">{{ post.data.title | safe }}</a> <time datetime="{{ post.date | dateToRfc3339 }}">{{ post.date | dateDisplay }}</time></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user