Add install instructions for single theme in README.md

Fixed #12
This commit is contained in:
Hanzei 2018-08-08 22:11:05 +02:00 committed by digitalcraftsman
parent 3b9de18696
commit 278f6dee51

View File

@ -1,25 +1,26 @@
hugoBasicExample # hugoBasicExample
==========
This is an example site for [Hugo](https://gohugo.io/). 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 # Using
1. First, [install Hugo](https://gohugo.io/overview/installing/); 1. [Install Hugo](https://gohugo.io/overview/installing/)
2. Then, clone this repository; 2. Clone this repository
3. Clone the [Hugo themes][]; ```bash
4. Run Hugo and select the theme of your choosing. git clone https://github.com/gohugoio/hugoBasicExample.git
cd hugoBasicExample
In other words: ```
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)
<pre><code>git clone https://github.com/gohugoio/HugoBasicExample.git ```bash
cd HugoBasicExample git clone --recursive https://URL/OF/YOUR/THEME themes/YOURTHEME
```
or
```bash
git clone --recursive https://github.com/gohugoio/hugoThemes.git themes git clone --recursive https://github.com/gohugoio/hugoThemes.git themes
hugo server -t <em>themename</em> ```
</code></pre> 4. Run Hugo and select the theme of your choosing
```bash
Enjoy! hugo server -t YOURTHEME
```
[Hugo themes]: https://github.com/gohugoio/hugoThemes