2014-05-29 18:42:05 -04:00
|
|
|
---
|
|
|
|
date: 2014-05-12T10:09:27Z
|
|
|
|
menu:
|
|
|
|
main:
|
|
|
|
parent: themes
|
|
|
|
next: /themes/customizing
|
|
|
|
prev: /themes/installing
|
|
|
|
title: Using a Theme
|
|
|
|
weight: 30
|
|
|
|
---
|
2014-05-27 18:32:57 -04:00
|
|
|
|
|
|
|
Please make certain you have installed the themes you want to use in the
|
2014-12-04 11:26:12 -05:00
|
|
|
`/themes` directory.
|
2014-05-27 18:32:57 -04:00
|
|
|
|
|
|
|
To use a theme for a site:
|
|
|
|
|
|
|
|
hugo -t ThemeName
|
|
|
|
|
2014-12-04 11:26:12 -05:00
|
|
|
The *ThemeName* must match the name of the directory inside `/themes`.
|
2014-05-27 18:32:57 -04:00
|
|
|
|
|
|
|
Hugo will then apply the theme first, then apply anything that is in the local
|
2015-01-27 21:17:09 -05:00
|
|
|
directory. To learn more, go to [customizing themes](/themes/customizing/).
|