Fix some markup poofs
This commit is contained in:
parent
214dc44531
commit
4724402706
4 changed files with 8 additions and 7 deletions
|
|
@ -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
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
layout: default
|
||||
title: poc: Python OCE Composer
|
||||
title: 'poc: Python OCE Composer'
|
||||
redirect_from:
|
||||
- /01501986387
|
||||
---
|
||||
|
|
|
|||
|
|
@ -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
|
||||
---
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue