Creating a blog using ox-hugo
I was going to make a post explaining how I made this blog but it was rendered pretty useless by this. So yeah, I might archive this later.
- Install hugo from your package manager.
- Create a new site:
hugo new site blog
- Add a theme:
cd blog git init git submodule add <theme_url> themes/<name>
- Install ox-hugo in emacs
;; goes in packages.el (package! ox-hugo) ;; goes in config.el (use-package ox-hugo :after ox)
- TODO Explain the process of content and properties, tags etc.
- Export
- Config.toml (theme, title, url, publishdir, etc)
- Run server, check localhost.
- Push
- Go to GitHub repository Settings > GitHub pages. Select /docs in Source.
- Voila!