2021-10-07 05:20:24 +00:00
|
|
|
# Thurstylark Wiki Hugo Theme
|
2021-03-05 09:44:42 +00:00
|
|
|
|
2021-10-07 05:20:24 +00:00
|
|
|
The style and layout for [Thurstylark's Wiki](https://wiki.thurstylark.com/).
|
2021-03-05 09:44:42 +00:00
|
|
|
|
2021-10-07 05:20:24 +00:00
|
|
|
A fork of [risotto](https://github.com/joeroe/risotto).
|
2021-03-05 09:44:42 +00:00
|
|
|
|
|
|
|
## 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-10-07 05:32:21 +00:00
|
|
|
git clone https://git.thurstylark.com/thurstylark/tlwiki-hugo-theme.git themes/tlwiki
|
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
|
2021-10-07 05:32:21 +00:00
|
|
|
git submodule add https://git.thurstylark.com/thurstylark/tlwiki-hugo-theme.git themes/tlwiki
|
2021-07-28 19:56:26 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
2021-10-07 05:32:21 +00:00
|
|
|
To use the theme, add `theme = tlwiki` 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-10-07 05:32:21 +00:00
|
|
|
cd themes/tlwiki
|
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
|
|
|
|
2021-10-07 05:20:24 +00:00
|
|
|
## License
|
|
|
|
|
|
|
|
See: [./LICENSE](./LICENSE)
|
|
|
|
|
|
|
|
TL;DR: MIT. go nuts.
|