blog migration to pelican
So I finally ditched blaze-blogger for the following reasons:
- Markdown!
- disqus support, yes there are comments now
- more themes, sort of
- curiosity
Basically I did:
sudo pip install pelican markdown
mkdir newblog && cd newblog
pelican-quickstart
pelican-import -m markdown --feed http://blog.galax.is/index.rss --output content/
git init
# fix all the broken imports
sudo rm -rf /srv/raid/http/
sudo ln -s /srv/raid/http/ output
make html
# :3
Also this nginx rewrite was handy to NOT create a lot of dead blazeblogger links:
location / {
rewrite ^/201./../[0-9]+-(.*)$ https://$host/$1.html permanent;
...