Skip to content

Quick Start

Clément Pannetier edited this page May 22, 2020 · 1 revision

Quick Start

To start using hugo-coder:

  1. Add the repository into your Hugo Project repository as a submodule, git submodule add https://github.com/luizdepra/hugo-coder.git themes/coder.
  2. Configure your config.toml. You can either use the this minimal configuration as a base, or look for a complete explanation about all configurations here. The config.toml inside the exampleSite directory is also a good reference.
  3. Build your site with hugo server and see the result at http://localhost:1313/.

If you just want to test this theme, go to this page.

You can also clone or download it and run these commands:

  git clone https://github.com/luizdepra/hugo-coder.git

  cd hugo-coder/exampleSite/

  hugo server -t ../..

You will see the result at http://localhost:1313/.

These last two methods don't use the same content directory, the first one leads to 404 pages for some pages. More info here.

Clone this wiki locally