Setting up the blog

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)

    1. 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'))
      
    2. 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:

comments powered by Disqus