feat(footer): add link to remote repository

Adds two options, both defaulting to true if the remote repo URL is set:
* `show_remote_changes`: links the commit history of a post next to the updated date. (#109)
* `show_remote_source`: links to the site's repository on the footer.
This commit is contained in:
welpo
2023-08-18 21:46:37 +02:00
parent 6dc6e51ea8
commit 99f6f2dcdc
4 changed files with 44 additions and 8 deletions

View File

@@ -111,7 +111,7 @@ The content outside the front matter will be rendered between the header title a
- set the title and taxonomies for each language;
- add the `language_name.{code}` in `[extra]`. This is the text shown in the language switcher.
See [these lines in the provided `config.toml`](https://github.com/welpo/tabi/blob/main/config.toml#L22-L132) for an example.
See [these lines in the provided `config.toml`](https://github.com/welpo/tabi/blob/main/config.toml#L22-L134) for an example.
You will need an `_index.{language_code}.md` per language for each section (e.g. /blog or /projects) that you want to enable in that language.