Move posts from Wordpress to physical markdown

This commit is contained in:
Lewis Dale committed 2023-12-26 14:35:09 +00:00
1 parent e828f9f590
commit c8c5981bd3
147 files changed
+6219 -98

No files matched your search

+2 -6
View File
@@ -1,15 +1,11 @@
---
layout: base.njk
includePrism: true
eleventyComputed:
title: "{{ post.title.rendered | safe }}"
description: "{{ post.yoast_head_json.description }}"
---
<main class="wrapper-md stack-lg">
<article class="stack-md h-entry">
<h1 class="p-name"><a href="{{ post.url }}" class="u-url">{{ title | safe }}</a></h1>
<p class="published">Published: <time class="dt-published" datetime="{{ post.date | rfc3339 }}">{{ post.date | dateDisplay }}</time></p>
{{ post.excerpt.rendered | safe }}
<h1 class="p-name"><a href="{{ url }}" class="u-url">{{ title | safe }}</a></h1>
<p class="published">Published: <time class="dt-published" datetime="{{ date | rfc3339 }}">{{ date | dateDisplay }}</time></p>
<div class="e-content stack-md">
{{ content | safe }}
</div>