This commit is contained in:
parent
df332d5b2b
commit
b7f6def94d
@ -25,7 +25,7 @@ site.use(feed({
|
||||
title: "=title",
|
||||
description: "=excerpt",
|
||||
},
|
||||
query: "type=post"
|
||||
query: "type=post",
|
||||
}));
|
||||
site.use(metas());
|
||||
site.use(nunjucks());
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title or metas.site }}</title>
|
||||
<title>{{ title or metas.site }} - James Walker</title>
|
||||
<meta name="description" content="{{ description or metas.description }}">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="alternate" href="https://walkah.blog/feed.rss" type="application/rss+xml">
|
||||
|
@ -5,12 +5,12 @@
|
||||
<header>
|
||||
<h1 class="p-name">{{ title }}</h1>
|
||||
</header>
|
||||
{% if post.feature_image %}
|
||||
{% if image %}
|
||||
<figure class="md:-mx-12">
|
||||
<img class="u-featured rounded-md shadow-md w-full" src="{{ post.feature_image }}" alt="{{ post.feature_image_alt }}">
|
||||
{% if post.feature_image_caption %}
|
||||
<img class="u-featured rounded-md shadow-md w-full" src="{{ image }}" alt="{{ image_alt }}">
|
||||
{% if image_caption %}
|
||||
<figcaption>
|
||||
<cite>{{ post.feature_image_caption }}</cite>
|
||||
<cite>{{ image_caption }}</cite>
|
||||
</figcaption>
|
||||
{% endif %}
|
||||
</figure>
|
||||
@ -20,7 +20,7 @@
|
||||
</section>
|
||||
<footer class="flex flex-row not-prose">
|
||||
<div class="basis-1/2">
|
||||
<time class="dt-published" datetime="{{ date | date('DATETIME') }}" pubdate>
|
||||
<time class="dt-published" datetime="{{ date | date('ATOM') }}" pubdate>
|
||||
<a class="u-url text-gray-500 text-sm" href="{{ post.url }}">{{ date | date }}</a>
|
||||
</time>
|
||||
</div>
|
||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -36,11 +36,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1716312448,
|
||||
"narHash": "sha256-PH3w5av8d+TdwCkiWN4UPBTxrD9MpxIQPDVWctlomVo=",
|
||||
"lastModified": 1718089647,
|
||||
"narHash": "sha256-COO4Xk2EzlZ3x9KCiJildlAA6cYDSPlnY8ms7pKl2Iw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e381a1288138aceda0ac63db32c7be545b446921",
|
||||
"rev": "f7207adcc68d9cafa29e3cd252a18743ae512c6a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user