From a23206c004eefca33f1e5d81f87e5beef3b6bb64 Mon Sep 17 00:00:00 2001 From: nek0 Date: Fri, 10 Nov 2017 17:17:33 +0100 Subject: [PATCH] moving templates --- site/index.md | 2 +- templates/{archive.html => archive.md} | 2 +- templates/post-list.html | 7 ------- templates/post-list.md | 3 +++ 4 files changed, 5 insertions(+), 9 deletions(-) rename templates/{archive.html => archive.md} (51%) delete mode 100644 templates/post-list.html create mode 100644 templates/post-list.md diff --git a/site/index.md b/site/index.md index a094d39..49b37ed 100644 --- a/site/index.md +++ b/site/index.md @@ -12,6 +12,6 @@ welcome. Meet us at our Assembly at 34C3. The latest posts here are -$partial("templates/post-list.html")$ +$partial("templates/post-list.md")$ ...and there are even more in the [archive](/archive.html). diff --git a/templates/archive.html b/templates/archive.md similarity index 51% rename from templates/archive.html rename to templates/archive.md index b43eeb2..90393ed 100644 --- a/templates/archive.html +++ b/templates/archive.md @@ -1,2 +1,2 @@ Here you can find all my previous posts: -$partial("templates/post-list.html")$ +$partial("templates/post-list.md")$ diff --git a/templates/post-list.html b/templates/post-list.html deleted file mode 100644 index 995c6a1..0000000 --- a/templates/post-list.html +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/templates/post-list.md b/templates/post-list.md new file mode 100644 index 0000000..3650488 --- /dev/null +++ b/templates/post-list.md @@ -0,0 +1,3 @@ +$for(posts)$ +* [$title$]($url$) - $date$ +$endfor$