From 70a2c42a5eef1dab2b7ab75e3c7f6ffc8c8c1959 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Fri, 5 Feb 2021 09:55:25 +0100
Subject: Move source files into src
---
src/_layouts/archive.html | 39 ++++++++++++++++++++++++++++++++
src/_layouts/default.html | 12 ++++++++++
src/_layouts/language-war.html | 40 +++++++++++++++++++++++++++++++++
src/_layouts/post.html | 51 ++++++++++++++++++++++++++++++++++++++++++
src/_layouts/project.html | 22 ++++++++++++++++++
5 files changed, 164 insertions(+)
create mode 100644 src/_layouts/archive.html
create mode 100644 src/_layouts/default.html
create mode 100644 src/_layouts/language-war.html
create mode 100644 src/_layouts/post.html
create mode 100644 src/_layouts/project.html
(limited to 'src/_layouts')
diff --git a/src/_layouts/archive.html b/src/_layouts/archive.html
new file mode 100644
index 0000000..c794c22
--- /dev/null
+++ b/src/_layouts/archive.html
@@ -0,0 +1,39 @@
+---
+layout: default
+---
+
+{% markdown %}
+## Blog posts tagged with #{{ page.title | slugify }}
+{% endmarkdown %}
+
+{% include posts-intro.md %}
+
+{% for post in page.posts %}
+ {% if post.wip %}{% continue %}{% endif %}
+ {% assign this_year = post.date | date: "%Y" %}
+
+ {% if this_year != prev_year %}
+ {% if forloop.first != true %}
+
+ {% endif %}
+
+ {{ this_year }}
+
+ {% endif %}
+
+ {% assign prev_year = post.date | date: "%Y" %}
+{% endfor %}
diff --git a/src/_layouts/default.html b/src/_layouts/default.html
new file mode 100644
index 0000000..228f4c7
--- /dev/null
+++ b/src/_layouts/default.html
@@ -0,0 +1,12 @@
+
+
+{% include head.html %}
+
+{% include header.html %}
+
+
+{{ content }}
+
+{% include footer.html %}
+
+
diff --git a/src/_layouts/language-war.html b/src/_layouts/language-war.html
new file mode 100644
index 0000000..31f1085
--- /dev/null
+++ b/src/_layouts/language-war.html
@@ -0,0 +1,40 @@
+
+
+
+ {% include head.html %}
+
+
+
+ {% include header.html %}
+
+
+ {{ content }}
+
+
+
+ {% include footer.html %}
+
+
diff --git a/src/_layouts/post.html b/src/_layouts/post.html
new file mode 100644
index 0000000..d979adb
--- /dev/null
+++ b/src/_layouts/post.html
@@ -0,0 +1,51 @@
+---
+layout: default
+---
+
+
+
+
+ {{ page.title }}
+ {% if page.wip %}Work in progress!{% endif %}
+
+
+ {% for tag in page.tags %}
+ #{{ tag | slugify }}
+ {% endfor %}
+
+
+
+ {{ content }}
+
+
+
diff --git a/src/_layouts/project.html b/src/_layouts/project.html
new file mode 100644
index 0000000..e85b209
--- /dev/null
+++ b/src/_layouts/project.html
@@ -0,0 +1,22 @@
+---
+layout: default
+---
+
+
+
+
+ {{ content }}
+
+
+
--
cgit v1.1