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 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: redirect_from:
- /01449097963 - /01449097963
--- ---
@ -245,4 +245,4 @@ development and generally as a person. I'm working on an updated and improved
version that incorporates your feedback. Let me know what you think. version that incorporates your feedback. Let me know what you think.
<br><br><font size=-2>Entry first conceived on 2 December 2015, 23:12 UTC, last modified on 29 February 2016, 22:04 UTC</font> <br><br><font size=-2>Entry first conceived on 2 December 2015, 23:12 UTC, last modified on 29 February 2016, 22:04 UTC</font>
</body> </body>
</html> </html>

View file

@ -1,6 +1,6 @@
--- ---
layout: default layout: default
title: poc: Python OCE Composer title: 'poc: Python OCE Composer'
redirect_from: redirect_from:
- /01501986387 - /01501986387
--- ---
@ -182,4 +182,4 @@ Fillet(12, [e for e in Edges() if e.boundingBox().min.z &gt; 0])
</pre> </pre>
<br><br><font size=-2>Entry first conceived on 6 August 2017, 2:26 UTC, last modified on 6 July 2019, 21:49 UTC</font> <br><br><font size=-2>Entry first conceived on 6 August 2017, 2:26 UTC, last modified on 6 July 2019, 21:49 UTC</font>
</body> </body>
</html> </html>

View file

@ -1,6 +1,6 @@
--- ---
layout: default layout: default
title: Cura vs GPX vs dual extruder temperature: A FIX! title: 'Cura vs GPX vs dual extruder temperature: A FIX!'
redirect_from: redirect_from:
- /01557352438 - /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' ` FSTITLE=`echo $TITLE | tr -Cs '[a-zA-Z0-9]' '-' | sed -Ee 's/^-*|-*$//g' `
DATE=`date --date=@$1 +%Y-%m-%d` DATE=`date --date=@$1 +%Y-%m-%d`
OUTFILE="_posts/$DATE-$FSTITLE.html" OUTFILE="_posts/$DATE-$FSTITLE.html"
(
echo $OUTFILE 1>&2 echo $OUTFILE 1>&2
exec > $OUTFILE exec > $OUTFILE
echo "---" echo "---"
echo "layout: default" echo "layout: default"
echo "title: $TITLE" echo "title: \"$TITLE\""
echo "redirect_from: " echo "redirect_from: "
echo " - /$1" echo " - /$1"
echo "---" echo "---"
cat $1.html.pre cat $1.html.pre
rm $1.html.pre rm $1.html.pre
TZ=GMT echo "<!--Imported with do-aether-page on `date`-->" )
git add $OUTFILE git add $OUTFILE
git commit -m"Migrate aether post from $1" $OUTFILE git commit -m"Migrate aether post from $1" $OUTFILE