- commit
- d21af171ff76f401633c70e780dfa62a4f0629b0
- parent
- 7745a7a2710cbad8cc242a19a080ce495075072d
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-03-26 00:45
shellcheck
Diffstat
M | feed-atom.sh | 2 | +- |
M | feed-json.sh | 2 | +- |
M | posts.sh | 2 | +- |
3 files changed, 3 insertions, 3 deletions
diff --git a/feed-atom.sh b/feed-atom.sh
@@ -23,7 +23,7 @@ else 23 23 select='head -n 10' 24 24 fi 25 2526 -1 ls _content/posts | tac | $select | while read l; do-1 26 ls _content/posts | tac | $select | while read -r l; do 27 27 yml="_content/posts/$l/index.md" 28 28 html="_content/posts/$l/index.html" 29 29 url="${base_url}posts/$l/"
diff --git a/feed-json.sh b/feed-json.sh
@@ -24,7 +24,7 @@ else 24 24 select='head -n 10' 25 25 fi 26 2627 -1 ls _content/posts | tac | $select | while read l; do-1 27 ls _content/posts | tac | $select | while read -r l; do 28 28 if [ -z "$loop" ]; then 29 29 echo ' "items": [{' 30 30 loop=1
diff --git a/posts.sh b/posts.sh
@@ -3,7 +3,7 @@ 3 3 echo "---" 4 4 echo "posts:" 5 56 -1 ls _content/posts | tac | while read l; do-1 6 ls _content/posts | tac | while read -r l; do 7 7 yml="_content/posts/$l/index.md" 8 8 echo " - url: /posts/$l/" 9 9 echo " $(grep '^title:' "$yml" | head -n 1)"