diff options
author | Akshay <[email protected]> | 2020-04-16 16:11:25 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-04-16 16:11:25 +0100 |
commit | 3b26884213b5f4f0673461a307cf21599092bea6 (patch) | |
tree | 9c9d0bbf44b71331822ba152ac3fc8393083b37e /rss.esh | |
parent | 029ba179857ee74298f154df835be4192199eece (diff) |
get rid of lowdown for ever, add donate links
Diffstat (limited to 'rss.esh')
-rw-r--r-- | rss.esh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |