A quick howto on how I used Hugo to setup this blog.
The Steps:
-
Create a test org-mode file so I don’t destroy everything on accident
-
Create a directory where I want the blog to be, in my case
~/Dropbox/org/blog -
Follow the steps from here: http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/
-
Install hugo (on Windows 10)
-
Install chocolatey https://chocolatey.org/install#install-with-cmdexe
# for the powershell, close it after execution Set-ExecutionPolicy Bypass; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) -
Install hugo using chocolatey:
# on the normal shell choco install hugo -confirm
-
-
Follow the startup steps for hugo to setup a site and get the server running
# some command to create a default site # then download a theme # copy the exampleSite structure into the main blog directory to have some dummy content cp -R theme/$theme_name/exampleSite . hugo server # look at the site -
Next steps:
- https://gohugo.io/themes/customizing/ Check out the customizing tutorial
- Get a theme that I like
- I ditched ananke and got “bluestnight”. Now i have to customize it.
- Disabled the patreon widget
- Check out this link: https://vurt.co.uk/post/blogging-with-emacs-and-hugo/