hmc-guide/themes/lotusdocs/exampleSite/README.md

833 B

Lotus Docs Example Site

This repository offers a multilingual example site using the Lotus Docs Hugo theme.

Using

  1. Install Hugo

  2. Clone this repository

    $ git clone --depth 1 https://github.com/colinwilson/lotusdocs lotusdocs
    $ cd lotusdocs/exampleSite
    
  3. Run Hugo server.

    $ hugo server
    

Notes:

The exampleSite functions by using the Hugo replace directive (in go.mod) to point the default lotusdocs module path, github.com/colinwilson/lotusdocs, to the local directory above where the theme is cloned:

// go.mod
...

replace github.com/colinwilson/lotusdocs => ../