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
|
|
|
|
|
2021-07-28 19:56:26 +00:00
|
|
|
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
|
2021-07-28 19:56:26 +00:00
|
|
|
git clone https://github.com/joeroe/risotto themes/risotto
|
2021-03-05 09:44:42 +00:00
|
|
|
```
|
|
|
|
|
2021-07-28 19:56:26 +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
|
|
|
|
2021-07-28 19:56:26 +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.
|
|
|
|
|
2021-07-28 19:56:26 +00:00
|
|
|
## Update
|
2021-03-05 09:44:42 +00:00
|
|
|
|
2021-07-28 19:56:26 +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
|
2021-07-28 19:56:26 +00:00
|
|
|
cd themes/risotto
|
2021-03-05 09:44:42 +00:00
|
|
|
git pull
|
|
|
|
```
|
|
|
|
|
2021-07-28 19:56:26 +00:00
|
|
|
Or, if you added it as a git submodule:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
git submodule update --remote
|
|
|
|
```
|
2021-03-05 09:44:42 +00:00
|
|
|
|