summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2023-11-17 21:14:43 +0100
committerMiran Bastaja <miran.bastaja04@gmail.com>2023-11-17 21:14:43 +0100
commit0c08d40a703ec4b4e377a8bb3decf0227b43ab3a (patch)
tree2ae3f6673c2026fc8551bb58e2cc72e6d1d4fb3b
parent30bf6cf27469ae30db01e99305e12d3051037763 (diff)
Update post naming scheme
Make naming scheme always include date in the URL. Also update existing post title to better fit the new naming scheme requirements.
-rw-r--r--config.toml3
-rw-r--r--content/2023-11-15-scraping-images-from-open-tabs.md (renamed from content/shell-snippets.md)3
2 files changed, 4 insertions, 2 deletions
diff --git a/config.toml b/config.toml
index f54c322..6ca5e3d 100644
--- a/config.toml
+++ b/config.toml
@@ -14,3 +14,6 @@ highlight_code = true
[extra]
# Put all your custom variables here
+
+[slugify]
+paths_keep_dates = true
diff --git a/content/shell-snippets.md b/content/2023-11-15-scraping-images-from-open-tabs.md
index 7607d77..271d975 100644
--- a/content/shell-snippets.md
+++ b/content/2023-11-15-scraping-images-from-open-tabs.md
@@ -1,9 +1,8 @@
+++
-title = "Shell snippets"
+title = "Scraping images from open tabs"
date = "2023-11-15"
updated = "2023-11-15"
+++
-## Scraping images from open tabs
```zsh
cat export.json \
| jaq --raw-output '..["url"]? | strings' \