From e809bb8c9d621b58a913d0691d3c01375d72d352 Mon Sep 17 00:00:00 2001 From: nodejh Date: Tue, 2 Mar 2021 10:56:04 +0800 Subject: [PATCH] feat: update docs --- README.md | 6 +++--- exampleSite/README.md | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6324b92..b3a5803 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,9 @@ Features: 1. Inside the folder of your Hugo site run: - ```bash - $ git submodule add https://github.com/nodejh/hugo-theme-mini.git themes/mini - ``` + ```bash + $ git submodule add https://github.com/nodejh/hugo-theme-mini.git themes/mini + ``` 2. Add the theme's directory to your `config.yaml`: diff --git a/exampleSite/README.md b/exampleSite/README.md index 7858fce..ccea0a0 100644 --- a/exampleSite/README.md +++ b/exampleSite/README.md @@ -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/) 2. Clone this repository - ```bash - $ git clone https://github.com/nodejh/hugo-theme-mini - $ cd exampleSite - ``` + ```bash + $ git clone https://github.com/nodejh/hugo-theme-mini + $ cd exampleSite + ``` 3. Run Hugo server. The exampleSite use theme `hugo-theme-mini` by setting `themesDir` as `../../` - ```bash - $ hugo server - ``` + ```bash + $ hugo server + ```