feat: update docs

master
nodejh 4 years ago
parent 34d3c2dd68
commit e809bb8c9d

@ -45,9 +45,9 @@ Features:
1. Inside the folder of your Hugo site run: 1. Inside the folder of your Hugo site run:
```bash ```bash
$ git submodule add https://github.com/nodejh/hugo-theme-mini.git themes/mini $ git submodule add https://github.com/nodejh/hugo-theme-mini.git themes/mini
``` ```
2. Add the theme's directory to your `config.yaml`: 2. Add the theme's directory to your `config.yaml`:

@ -7,12 +7,12 @@ This repository offers an example site for [Hugo Theme mini](https://github.com/
1. [Install Hugo](https://gohugo.io/overview/installing/) 1. [Install Hugo](https://gohugo.io/overview/installing/)
2. Clone this repository 2. Clone this repository
```bash ```bash
$ git clone https://github.com/nodejh/hugo-theme-mini $ git clone https://github.com/nodejh/hugo-theme-mini
$ cd exampleSite $ cd exampleSite
``` ```
3. Run Hugo server. The exampleSite use theme `hugo-theme-mini` by setting `themesDir` as `../../` 3. Run Hugo server. The exampleSite use theme `hugo-theme-mini` by setting `themesDir` as `../../`
```bash ```bash
$ hugo server $ hugo server
``` ```

Loading…
Cancel
Save