]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
automatically set permalink
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Jul 2024 21:43:57 +0000 (14:43 -0700)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 30 Jul 2024 21:43:57 +0000 (14:43 -0700)
content/articles/articles.11tydata.js [deleted file]
content/articles/articles.json [new file with mode: 0644]
content/articles/minimum-utxo-value/index.md
content/articles/monetary-system-enshittification/index.md
content/articles/removing-a-drive-from-a-btrfs-array.md

diff --git a/content/articles/articles.11tydata.js b/content/articles/articles.11tydata.js
deleted file mode 100644 (file)
index 0e85111..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
-       tags: [
-               "articles"
-       ],
-       "layout": "layouts/article.njk",
-};
diff --git a/content/articles/articles.json b/content/articles/articles.json
new file mode 100644 (file)
index 0000000..48b5076
--- /dev/null
@@ -0,0 +1,5 @@
+{
+    "tags": ["articles"],
+    "layout": "layouts/article.njk",
+    "permalink": "articles/{{ date | htmlDateString }}-{{ title | slugify }}/"
+}
\ No newline at end of file
index 374d309..8ecd4c1 100644 (file)
@@ -2,7 +2,6 @@
 title: Minimum UTXO Value
 date: 2023-08-04
 modified: 2024-01-26
-permalink: 'articles/2023-008-04-minimum-utxo-value/'
 description: A look at what Bitcoin dust is, historical fee rates, how fees are calculated, and a decision on a minimum UTXO value to stay above the dust threshold.
 tags:
 - bitcoin
index 209662e..79ff1be 100644 (file)
@@ -1,7 +1,6 @@
 ---
 title: Monetary System Enshittification
 date: 2024-03-01
-permalink: 'articles/2024-03-01-monetary-system-enshittification/'
 description: Is the US monetary system experience enshittification? And how do we solve it?
 tags:
 - bitcoin
index f206227..2058e62 100644 (file)
@@ -1,7 +1,6 @@
 ---
 title: 'Removing a Drive from a Btrfs Array'
 date: 2023-07-05
-permalink: 'articles/2023-07-05-removing-a-drive-from-a-btrfs-array/'
 modified: 2024-01-26
 description: If a drive is failing in an array, Btrfs could block attempts at removing the drive due to corrupted files. A quick write-up of how to get it removed.
 tags: