rm -r static/resources
rm -r content/everblog
rm -r public
cp -r ~/Downloads/yarle-run/output4/notes/Blog content/everblog
mv content/everblog/resources static
fix title with quotes breaking frontmatter
grep -R 'title: ".*".*"$' ./content/everblog | sed 's/:.*//' | sed 's!^\(.*\)!sed -i "" -e '"'"'/^title: ".*".*"$/s/"//g'"'"' -e '"'"'/^title: [^"]*$/s/title: \\(.*\\)/title: "\\1"/'"'"' "\1"! ' | zsh
parse draft/no-draft blog sed tag published to draft
find content/everblog -type f -name '*.md' -exec sed -i "" -f content-parse-draft-from-published-tag.sed {} \;
#todo: fix title with _
should be :
grep -R 'title: ".*_ ' ./content/everblog | sed 's/:.*//' | sed 's!^\(.*\)!sed -i "" -e '"'"'/^title: ".*_ /s/_ /: /g'"'"' "\1"! '