Browse Source

Add drafts directory

restructure
Garrit Franke 3 years ago
parent
commit
14afb83600
  1. 0
      content/posts/drafts/2021-01-14-diy-software.md
  2. 13
      content/posts/drafts/2021-01-22-library-of-babel.md
  3. 5
      lib/rss.js

0
content/posts/2021-01-14-diy-software.md → content/posts/drafts/2021-01-14-diy-software.md

13
content/posts/drafts/2021-01-22-library-of-babel.md

@ -0,0 +1,13 @@
---
title: The library of babel
date: "2021-01-22"
draft: true
---
What if I told you that everything you ever have said, thought and wrote, and everything you will say, think or write, has already been written down? Let me share my discovery of a construct called the _library of babel_.
The library of babel is a
## Real world use cases
This is post 006 of [#100DaysToOffload](https://100daystooffload.com/).

5
lib/rss.js

@ -7,6 +7,11 @@ const markdown = require("markdown").markdown;
const files = fs
.readdirSync(path.join(__dirname, "../content/posts"))
// Filter subdirectories
.filter(
(p) =>
!fs.lstatSync(path.join(__dirname, "../content/posts", p)).isDirectory()
)
.map((filename) => {
return {
filename,

Loading…
Cancel
Save