From 278f6dee519b273f951601213db025fe1a70e9cb Mon Sep 17 00:00:00 2001 From: Hanzei Date: Wed, 8 Aug 2018 22:11:05 +0200 Subject: [PATCH] Add install instructions for single theme in README.md Fixed #12 --- README.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3f241099..49eb04a2 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,26 @@ -hugoBasicExample -========== +# hugoBasicExample This is an example site for [Hugo](https://gohugo.io/). -It is intended to be a demo site for the various [Hugo themes][]. +It is intended to be a demo site for the various [Hugo themes](https://themes.gohugo.io/). # Using -1. First, [install Hugo](https://gohugo.io/overview/installing/); -2. Then, clone this repository; -3. Clone the [Hugo themes][]; -4. Run Hugo and select the theme of your choosing. - -In other words: - -
git clone https://github.com/gohugoio/HugoBasicExample.git
-cd HugoBasicExample
+1. [Install Hugo](https://gohugo.io/overview/installing/)
+2. Clone this repository
+```bash
+git clone https://github.com/gohugoio/hugoBasicExample.git
+cd hugoBasicExample
+```
+3. Clone the repository you want to test. If you want to test all hugo themes, you can clone [the full list](https://github.com/gohugoio/hugoThemes)
+```bash
+git clone --recursive https://URL/OF/YOUR/THEME themes/YOURTHEME
+```
+or
+```bash
 git clone --recursive https://github.com/gohugoio/hugoThemes.git themes
-hugo server -t themename
-
- -Enjoy! - -[Hugo themes]: https://github.com/gohugoio/hugoThemes +``` +4. Run Hugo and select the theme of your choosing +```bash +hugo server -t YOURTHEME +```