tlwiki-hugo-theme/README.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2021-03-05 09:44:42 +00:00
# risotto
risotto is a minimalist, responsive [hugo](https://gohugo.io) theme inspired by terminal ricing aesthetics.
![Screenshot of the risotto theme](https://raw.githubusercontent.com/joeroe/risotto/master/images/screenshot.png)
## Install
The easiest way to install the theme is to clone this repository into your site's `themes` directory:
2021-03-05 09:44:42 +00:00
```shell
git clone https://github.com/joeroe/risotto themes/risotto
2021-03-05 09:44:42 +00:00
```
If your site is already a git repository, you can add the theme as a submodule instead:
2021-03-05 09:44:42 +00:00
```shell
git submodule add https://github.com/joeroe/risotto.git themes/risotto
```
## Configure
To use the theme, add `theme = risotto` to your site's `config.toml` or `config.yaml`.
2021-03-05 09:44:42 +00:00
See `exampleSite/config.toml` for the theme-specific parameters you need to add to your site's `config.toml` or `config.yaml` to configure the theme.
## Update
2021-03-05 09:44:42 +00:00
If you installed the theme using `git clone`, pull the repository to get the latest version:
2021-03-05 09:44:42 +00:00
```shell
cd themes/risotto
2021-03-05 09:44:42 +00:00
git pull
```
Or, if you added it as a git submodule:
```shell
git submodule update --remote
```
2021-03-05 09:44:42 +00:00