aboutsummaryrefslogtreecommitdiff
path: root/rss.esh
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-04-16 16:11:25 +0100
committerAkshay <[email protected]>2020-04-16 16:11:25 +0100
commit3b26884213b5f4f0673461a307cf21599092bea6 (patch)
tree9c9d0bbf44b71331822ba152ac3fc8393083b37e /rss.esh
parent029ba179857ee74298f154df835be4192199eece (diff)
get rid of lowdown for ever, add donate links
Diffstat (limited to 'rss.esh')
-rw-r--r--rss.esh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rss.esh b/rss.esh
index 2d2e6a8..324642f 100644
--- a/rss.esh
+++ b/rss.esh
@@ -14,7 +14,7 @@
14 <% for f in `ls -t ./posts`; do 14 <% for f in `ls -t ./posts`; do
15 file="./posts/"$f 15 file="./posts/"$f
16 post_date=$(date -u -r "$file" "+%a, %d %b %Y %H:%M:00 %z") 16 post_date=$(date -u -r "$file" "+%a, %d %b %Y %H:%M:00 %z")
17 html=$(lowdown "$file") 17 html=$(pandoc -t html "$file")
18 id="${file##*/}" 18 id="${file##*/}"
19 id="${id%.*}" 19 id="${id%.*}"
20 post_title=$(echo "$id" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g") 20 post_title=$(echo "$id" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g")