summaryrefslogtreecommitdiffstats
path: root/entries
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-12 02:06:41 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-12 02:06:41 +0100
commit5591d977998a189573e8f780a5270ab81bb56ddc (patch)
tree16188b30ea414fb556b024aa20a4b918b1d61fbc /entries
downloadkyblo-5591d977998a189573e8f780a5270ab81bb56ddc.tar.xz
Initial commit
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'entries')
-rw-r--r--entries/new-blog.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/entries/new-blog.rst b/entries/new-blog.rst
new file mode 100644
index 0000000..594b44a
--- /dev/null
+++ b/entries/new-blog.rst
@@ -0,0 +1,10 @@
+After thinking about cleaning up my blog building scripts, and inspired by `chee's blog post`_, I figured it was time to finally rewrite them from scratch!
+
+The two ugliest parts of of the old system that I managed to get rid of now was the ordering of posts, and specifying entry metadata. Previously I used numbered filenames, and a yaml frontmatter that I split out of the entry before parsing, but I replaced both with a file called ``entries.json``. It contains a list of objects, with the objects containing the metadata for the entry, e.g. title, date, et.c., to be built, and the order of the objects defining the order of the entries.
+
+One current deficiency is that there's no support for draft entries, but I'm fairly certain that I know how I'm going to implement it.
+
+Oh, and I nuked all my old posts, since there was nothing interesting in there. They're still accessible through the wayback machine, and my website's git history though.
+
+
+.. _`chee's blog post`: https://blog.snaek.org/post/blogs-a-stupid-blog-thing