From 9843cee80862c012572dfc3733d7e22c990a4777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 27 Nov 2024 12:05:42 +0100 Subject: [PATCH] Use the "post" layout by default Fixes #49 --- src/_layouts/release.njk | 12 ------------ src/news/2024-08-22-welcome.md | 1 - src/news/2024-09-23-gvisor.md | 1 - src/news/2024-10-01-0.7.1.md | 1 - src/news/2024-11-06-0.8.0.md | 1 - src/news/news.json | 3 +++ 6 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 src/_layouts/release.njk create mode 100644 src/news/news.json diff --git a/src/_layouts/release.njk b/src/_layouts/release.njk deleted file mode 100644 index c11c0b5..0000000 --- a/src/_layouts/release.njk +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: base ---- - -
-
-

{{ title }}

-
- {{ content | safe }} -
-{% include "../_includes/downloads.njk" %} -
\ No newline at end of file diff --git a/src/news/2024-08-22-welcome.md b/src/news/2024-08-22-welcome.md index 8ca2bad..c029e26 100644 --- a/src/news/2024-08-22-welcome.md +++ b/src/news/2024-08-22-welcome.md @@ -1,5 +1,4 @@ --- -layout: post title: Welcome to the Dangerzone date: 2024-08-22 --- diff --git a/src/news/2024-09-23-gvisor.md b/src/news/2024-09-23-gvisor.md index a274e07..17d048f 100644 --- a/src/news/2024-09-23-gvisor.md +++ b/src/news/2024-09-23-gvisor.md @@ -1,5 +1,4 @@ --- -layout: post title: "Safe Ride into the Dangerzone: Reducing attack surface with gVisor" date: 2024-09-23 --- diff --git a/src/news/2024-10-01-0.7.1.md b/src/news/2024-10-01-0.7.1.md index fd7da4c..1ec055e 100644 --- a/src/news/2024-10-01-0.7.1.md +++ b/src/news/2024-10-01-0.7.1.md @@ -1,5 +1,4 @@ --- -layout: release title: Dangerzone 0.7.1 is out version: 0.7.1 date: 2024-10-01 diff --git a/src/news/2024-11-06-0.8.0.md b/src/news/2024-11-06-0.8.0.md index 1390762..c7e59e2 100644 --- a/src/news/2024-11-06-0.8.0.md +++ b/src/news/2024-11-06-0.8.0.md @@ -1,5 +1,4 @@ --- -layout: release title: Dangerzone 0.8.0 is out version: 0.8.0 date: 2024-11-06 diff --git a/src/news/news.json b/src/news/news.json new file mode 100644 index 0000000..047dc27 --- /dev/null +++ b/src/news/news.json @@ -0,0 +1,3 @@ +{ + "layout": "post.njk" +} \ No newline at end of file