diff options
author | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2016-10-22 18:08:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 18:08:35 +0300 |
commit | dffd7da07c3fb198acfa6c4664b53132c4cabe55 (patch) | |
tree | 635e411031f5bf5f6c03d7250c006a148f067707 /docs | |
parent | 6427fba90b98f8ac2f8e23c44e010fa7619b88f3 (diff) |
docs: Clarify installation of themes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/themes/installing.md | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/content/themes/installing.md b/docs/content/themes/installing.md index fd4a70c91..bbadd9601 100644 --- a/docs/content/themes/installing.md +++ b/docs/content/themes/installing.md @@ -19,14 +19,27 @@ really a meta repository which contains pointers to set of contributed themes. ## Installing all themes If you would like to install all of the available Hugo themes, simply -clone the entire repository from within your working directory: +clone the entire repository from within your working directory. Depending +on your internet connection the download of all themes might take a while. + +> **NOTE:** Make sure you've installed [Git](https://git-scm.com/) on your computer. +Otherwise you will not be able to clone the theme repositories. ```bash -$ git clone --recursive https://github.com/spf13/hugoThemes.git themes +$ git clone --depth 1 --recursive https://github.com/spf13/hugoThemes.git themes ``` ## Installing a specific theme - $ mkdir themes +Switch into the `themes` directory and download a theme by replacing `URL_TO_THEME` +with the URL of the theme repository, e.g. `https://github.com/spf13/hyde`: + $ cd themes $ git clone URL_TO_THEME + +Alternatively, you can download the theme as `.zip` file and extract it in the +`themes` directory. + +**NOTE:** Please have a look at the `README.md` file that is shipped with all themes. +It might contain further instructions that are required to setup the theme, e.g. copying +an example configuration file. |