Fix some markup poofs

This commit is contained in:
Jeff Epler 2019-07-06 17:40:05 -05:00
parent 214dc44531
commit 4724402706
4 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,6 @@
---
layout: default
title: 'Free Software, Meritocracy, and why I try to listen when 'SJWs' speak'
title: "Free Software, Meritocracy, and why I try to listen when 'SJWs' speak"
redirect_from:
- /01449097963
---

View file

@ -1,6 +1,6 @@
---
layout: default
title: poc: Python OCE Composer
title: 'poc: Python OCE Composer'
redirect_from:
- /01501986387
---

View file

@ -1,6 +1,6 @@
---
layout: default
title: Cura vs GPX vs dual extruder temperature: A FIX!
title: 'Cura vs GPX vs dual extruder temperature: A FIX!'
redirect_from:
- /01557352438
---

View file

@ -8,16 +8,17 @@ TITLE=`grep '<title>' $1.html.pre | head -1 | sed -Ee 's,</?title>,,g'`
FSTITLE=`echo $TITLE | tr -Cs '[a-zA-Z0-9]' '-' | sed -Ee 's/^-*|-*$//g' `
DATE=`date --date=@$1 +%Y-%m-%d`
OUTFILE="_posts/$DATE-$FSTITLE.html"
(
echo $OUTFILE 1>&2
exec > $OUTFILE
echo "---"
echo "layout: default"
echo "title: $TITLE"
echo "title: \"$TITLE\""
echo "redirect_from: "
echo " - /$1"
echo "---"
cat $1.html.pre
rm $1.html.pre
TZ=GMT echo "<!--Imported with do-aether-page on `date`-->"
)
git add $OUTFILE
git commit -m"Migrate aether post from $1" $OUTFILE