mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-23 02:51:39 +01:00
parent
3b9de18696
commit
278f6dee51
37
README.md
37
README.md
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user