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