docs: Mention theme config option on Usage page
authorNichlas Hummelsberger <nichlas.hummelsberger@gmail.com>
Wed, 31 Aug 2016 09:38:21 +0000 (11:38 +0200)
committerdigitalcraftsman <digitalcraftsman@protonmail.com>
Thu, 1 Sep 2016 15:22:50 +0000 (17:22 +0200)
docs/content/themes/usage.md

index ad40c6e2e3dc8f0e432123a0f285ce775dc28247..5b1d11c02b49297a7117bccd001e2ceffcf13344 100644 (file)
@@ -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