Simplify installation instructions.
This commit is contained in:
parent
381ab23cae
commit
fdf4359998
23
README.adoc
23
README.adoc
|
@ -23,26 +23,11 @@ styling. It is based on link:{uri-slick}[Slick].
|
||||||
|
|
||||||
== Installation
|
== Installation
|
||||||
|
|
||||||
Just download the theme or clone it into your `themes/` directory:
|
|
||||||
|
|
||||||
[source,shell]
|
[source,shell]
|
||||||
----
|
--------------------------------------------------------------------------------
|
||||||
cd themes && git clone https://schlomp.space/tastytea/hugo-theme-nocolor.git nocolor
|
git submodule add https://schlomp.space/tastytea/hugo-theme-nocolor.git themes/nocolor
|
||||||
----
|
echo 'theme = "nocolor"' >> config.toml
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
Then reference it in your `config`:
|
|
||||||
|
|
||||||
[source,toml]
|
|
||||||
----
|
|
||||||
theme = "nocolor"
|
|
||||||
----
|
|
||||||
|
|
||||||
Or when building the site, pass it in to the CLI:
|
|
||||||
|
|
||||||
[source,shell]
|
|
||||||
----
|
|
||||||
hugo -t nocolor
|
|
||||||
----
|
|
||||||
|
|
||||||
== Modification
|
== Modification
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user