From 5cc740bc4f46d7454e3bd87937bce14699e6793f Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 24 May 2023 21:15:35 -0500 Subject: adjust blogposts a bit --- _includes/blogpost.njk | 43 ++++++++++++++++++++++ src/blog/blog.json | 2 +- .../centralization-through-decentralization.md | 2 +- src/blog/hidden.md | 7 ---- src/blog/not-a-femboy.md | 6 +-- src/blog/why-blog.md | 4 +- 6 files changed, 48 insertions(+), 16 deletions(-) create mode 100644 _includes/blogpost.njk delete mode 100644 src/blog/hidden.md diff --git a/_includes/blogpost.njk b/_includes/blogpost.njk new file mode 100644 index 0000000..dce49b7 --- /dev/null +++ b/_includes/blogpost.njk @@ -0,0 +1,43 @@ +--- +title = "Starfall" +--- + + + + {{ title }} + + + + + {{ extraHeadContent | safe }} + + + + + +
+

{{ title }}

+ +
+ +
+{% if author %}{{ author }} {% endif -%} +{% if date %}{{ date | local_date }}{% endif -%} +{{ content | safe }} +
+ + + + diff --git a/src/blog/blog.json b/src/blog/blog.json index 53d184b..3b8c3c7 100644 --- a/src/blog/blog.json +++ b/src/blog/blog.json @@ -1,5 +1,5 @@ { - "layout": "base.njk", + "layout": "blogpost.njk", "title": "Untitled Blog Post", "tags": ["post"] } diff --git a/src/blog/centralization-through-decentralization.md b/src/blog/centralization-through-decentralization.md index dc8e6f3..aa6d19d 100644 --- a/src/blog/centralization-through-decentralization.md +++ b/src/blog/centralization-through-decentralization.md @@ -1,7 +1,7 @@ --- title = "Centralization Through Decentralization" date = 2023-05-24T20:00:00-05:00 -tags = [ "software" ] +categories = [ "software" ] --- An opinion piece was recently published in Wired magazine titled ["The Hidden Dangers of the Decentralized Web"](https://www.wired.com/story/the-hidden-dangers-of-the-decentralized-web/). It makes a lot of basic factual errors, conflates valid reasons to mistrust centralized social media with antisemitic conspiracy theories and grifts, and somehow even manages to make basic security practice out as conspiratorial. I'm not all that interested in giving it the time of day, except for one paragraph that stuck out to me. diff --git a/src/blog/hidden.md b/src/blog/hidden.md deleted file mode 100644 index 330b617..0000000 --- a/src/blog/hidden.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -eleventyExcludeFromCollections = true -permalink = false ---- -Both of the above booleans need to be set for a post to be a proper draft. Without `permalink=false`, the page will -still be generated and be available as a direct link. Without `eleventExcludeFromCollections=true`, a link will be -generated on starfall.systems/blog and the Atom feed (though if permalink is off, it won't go anywhere). diff --git a/src/blog/not-a-femboy.md b/src/blog/not-a-femboy.md index aee96a9..79c0170 100644 --- a/src/blog/not-a-femboy.md +++ b/src/blog/not-a-femboy.md @@ -1,9 +1,7 @@ --- -eleventyExcludeFromCollections = true -permalink = false - +draft = true title = "Why I'm Not a Femboy" -tags = ["gender"] +categories = ["gender"] --- diff --git a/src/blog/why-blog.md b/src/blog/why-blog.md index 1cd6838..49a2c61 100644 --- a/src/blog/why-blog.md +++ b/src/blog/why-blog.md @@ -1,7 +1,5 @@ --- -eleventyExcludeFromCollections = true -permalink = false - +draft = true title = "Why a Blog in 2023?" --- - because i want to -- cgit