Improve installation instructions.

This commit is contained in:
Fredrik Jonsson 2019-05-28 12:58:07 +02:00
commit 9196dbea50

View file

@ -33,6 +33,21 @@ This is originally a port of the [Zen](https://www.drupal.org/project/zen) theme
* Umbrella JS 3 (tiny jQuery replacement, 2.5kB when gzipped)
## Installation
You can download and unpack the theme manually from Github but it's easier to use git to clone the repo.
```
$ git clone https://github.com/frjo/hugo-theme-zen.git themes/zen
```
If you use git to version control your site, highly recommended, it's best to add the zen theme as a submodule.
```
git submodule add https://github.com/frjo/hugo-theme-zen.git themes/zen
```
## Performance
Performance should be excellent.
@ -70,16 +85,6 @@ Some performance tools will complain about to many files (js and css files are n
![screenshot](https://raw.githubusercontent.com/frjo/hugo-theme-zen/master/images/tn_mobil_menu.png)
## Installation
```
$ cd themes
$ git clone https://github.com/frjo/hugo-theme-zen.git zen
```
[Hugo - Installing Hugo](https://gohugo.io/getting-started/installing/)
## Customise layouts
To customise a layout included in the zen theme, copy it to the root layout directory and edit it there. Make sure to maintain the directory structure inside the layouts directory.