Scripts to translate Pelican content to Zola content.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
716 B

# clean targets
rm -r /home/hugo/dev/zola-duniter/content/wiki/
mkdir /home/hugo/dev/zola-duniter/content/wiki/
rm -r /home/hugo/dev/zola-duniter/content/blog/
mkdir /home/hugo/dev/zola-duniter/content/blog/
# apply script
./ /home/hugo/dev/duniter_fr/content/articles/ /home/hugo/dev/zola-duniter/content/blog/
echo "PAGES -> WIKI"
./ /home/hugo/dev/duniter_fr/content/pages/ /home/hugo/dev/zola-duniter/content/wiki/
# minor adjustment
mv /home/hugo/dev/zola-duniter/content/wiki/ /home/hugo/dev/zola-duniter/content/wiki/
cp /home/hugo/dev/pelican_to_zola/ /home/hugo/dev/zola-duniter/content/blog/