mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
27 lines
679 B
Markdown
27 lines
679 B
Markdown
---
|
|
lastmod: 2015-01-27
|
|
date: 2014-05-12T10:09:27Z
|
|
menu:
|
|
main:
|
|
parent: themes
|
|
next: /themes/customizing
|
|
prev: /themes/installing
|
|
title: Using a Theme
|
|
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, 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
|
|
directory. To learn more, go to [customizing themes](/themes/customizing/).
|