From bcf9b230be6d74c71567fd0771b31d47d8dd39c7 Mon Sep 17 00:00:00 2001
From: Brian Picciano
Date: Thu, 21 Jan 2021 17:22:53 -0700
Subject: build the blog with nix
---
_layouts/code.html | 10 -------
_layouts/default.html | 22 --------------
_layouts/page.html | 13 ---------
_layouts/post.html | 80 ---------------------------------------------------
4 files changed, 125 deletions(-)
delete mode 100644 _layouts/code.html
delete mode 100644 _layouts/default.html
delete mode 100644 _layouts/page.html
delete mode 100644 _layouts/post.html
(limited to '_layouts')
diff --git a/_layouts/code.html b/_layouts/code.html
deleted file mode 100644
index 18cfb3b..0000000
--- a/_layouts/code.html
+++ /dev/null
@@ -1,10 +0,0 @@
----
-layout: default
----
-
-{% capture body %}```{{ page.lang | default: "go" }}
-{% include_relative {{ page.include }} %}```{% endcapture %}
-
-
Raw source file
-
-{{ body | markdownify }}
diff --git a/_layouts/default.html b/_layouts/default.html
deleted file mode 100644
index 5df9d6d..0000000
--- a/_layouts/default.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- {%- include head.html -%}
-
-
-
-
-
- {%- include header.html -%}
-
-
- {{ content }}
-
-
- {%- include footer.html -%}
-
-
-
-
-
-
diff --git a/_layouts/page.html b/_layouts/page.html
deleted file mode 100644
index 469413a..0000000
--- a/_layouts/page.html
+++ /dev/null
@@ -1,13 +0,0 @@
----
-layout: default
----
-
-
-
-
- {{ content }}
-
diff --git a/_layouts/post.html b/_layouts/post.html
deleted file mode 100644
index 6b97042..0000000
--- a/_layouts/post.html
+++ /dev/null
@@ -1,80 +0,0 @@
----
-layout: default
----
-
-
-
-
- {% if page.series %}
- {% assign foundThis = false %}
- {% for post in site.posts reversed %}
- {% if post.series == page.series %}
- {% if post.url == page.url %}
- {% assign foundThis = true %}
- {% elsif foundThis %}
- {% assign next = post %}
- {% break %}
- {% else %}
- {% assign prev = post %}
- {% endif %}
- {% endif %}
- {% endfor %}
- {% if prev or next %}
-
- This post is part of a series:
- {% if prev %}
- Previously: {{ prev.title }}
- {% endif %}
- {% if next %}
- Next: {{ next.title }}
- {% endif %}
-
- {% endif %}
- {% endif %}
-
-
- {{ content }}
-
-
- {% if page.git_repo %}
-
- To check this project out locally:
-
git clone {{ page.git_repo }}
-{% if page.git_commit %}git checkout {{ page.git_commit }}{% endif %}
-
- {% endif %}
-
- {% if prev or next %}
-
- If you liked this post, consider checking out other posts in the series:
- {% if prev %}
- Previously: {{ prev.title }}
- {% endif %}
- {% if next %}
- Next: {{ next.title }}
- {% endif %}
-
- {% endif %}
-
-
--
cgit v1.2.3