2014-05-29 22:42:05 +00: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 22:32:57 +00:00
|
|
|
|
|
|
|
Please make certain you have installed the themes you want to use in the
|
2014-12-04 16:26:12 +00:00
|
|
|
`/themes` directory.
|
2014-05-27 22:32:57 +00:00
|
|
|
|
|
|
|
To use a theme for a site:
|
|
|
|
|
|
|
|
hugo -t ThemeName
|
|
|
|
|
2014-12-04 16:26:12 +00:00
|
|
|
The *ThemeName* must match the name of the directory inside `/themes`.
|
2014-05-27 22:32:57 +00:00
|
|
|
|
|
|
|
Hugo will then apply the theme first, then apply anything that is in the local
|
2014-12-04 16:26:12 +00:00
|
|
|
directory. To learn more, go to [customizing themes](/themes/customizing).
|