-
Notifications
You must be signed in to change notification settings - Fork 0
Basic setup
The basic setup is the same as that of any Hugo theme.
If your site is also under version control using git, the easiest way to install this theme is to add it as a submodule. If you have not created a git repo for your project yet, you need to run git init
beforehand. Inside the folder of your Hugo site, run the following command.
git submodule add https://github.com/theramiyer/typographical-hugo.git themes/typographical
Alternatively, you can clone the theme into your project.
git clone https://github.com/theramiyer/typographical-hugo.git themes/typographical
Add the following line to config.toml
to tell Hugo to use the theme.
theme = "typographical"
Alternatively, you can tell Hugo to use the theme with the server
command.
hugo server -t typographical
For more information, read the official setup guide of Hugo.
If you have installed the theme as a git submodule, you can update the theme by issuing the following command inside your project folder.
git submodule update --remote --rebase
If you have cloned the theme, you can run git pull
inside the theme folder.