Hugo test site for this package

A site with bare-bones Hugo “theme” is used to live-test the package — you’ll know why theme is double-quoted once you try out the site on hugo.

Check out the example single Org file. That is created for testing various Org->Hugo content and meta-data translation features. Here are the exported Markdown files.

How to try ox-hugo on that site? #

  1. Clone this repo:

    git clone --recursive -j8 https://github.com/kaushalmodi/ox-hugo
  2. Start the hugo server:

    make serve HUGO_BASE_DIR=test/site
  3. Open http://localhost:1337 in your browser.

  4. In a different terminal, cd to the repo directory.

  5. Run:

    make md
  6. In few seconds, hundreds of test posts will get created, with the hugo server aided preview in the browser zapping through each new created post.

Alternative way #

  1. Clone this repo.

    git clone --recursive -j8 https://github.com/kaushalmodi/ox-hugo
  2. cd to the test/site/ directory and do:

    hugo server -D --navigateToChanged
  3. Above command will mention the localhost where the site is served. Open that in your browser.

  4. In emacs, (require 'ox-hugo) or evaluate the ox-hugo.el from the cloned repo.

  5. Open the all-posts.org file.

  6. C-c C-e H A – That will export all subtrees in the file to Markdown files.

  7. In few seconds, hundreds of test posts will get created, with the hugo server aided preview in the browser zapping through each new created post.

Fork me on GitHub