mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
docs: Mention theme config option on Usage page
This commit is contained in:
parent
8e1bcea82f
commit
bb1812b6af
1 changed files with 5 additions and 1 deletions
|
@ -13,10 +13,14 @@ weight: 30
|
|||
Please make certain you have installed the themes you want to use in the
|
||||
`/themes` directory.
|
||||
|
||||
To use a theme for a site:
|
||||
To use a theme for a site, execute Hugo with the following parameter:
|
||||
|
||||
hugo -t ThemeName
|
||||
|
||||
or add this line to your site configuration:
|
||||
|
||||
theme: "ThemeName"
|
||||
|
||||
The *ThemeName* must match the name of the directory inside `/themes`.
|
||||
|
||||
Hugo will then apply the theme first, then apply anything that is in the local
|
||||
|
|
Loading…
Reference in a new issue