Optional footer.since for copyright time range (#5275)
Co-authored-by: iBug <git@ibugone.com>
This commit is contained in:
@@ -962,6 +962,15 @@ footer:
|
||||
|
||||
To change "Follow:" text that precedes footer links, edit the `follow_label` key in `_data/ui-text.yml`.
|
||||
|
||||
The copyright notice in the footer shows the year the site has been generated. This can be overridden with `time` in `_config.yml`. If `footer.since` is added and the value is not equal to the current year or the optional value of `time`, then a time range will be shown.
|
||||
|
||||
```yaml
|
||||
footer:
|
||||
since: "2013"
|
||||
```
|
||||
|
||||
The above will result for example in `© 2013 - 2025 Minimal ...`. Note that `time` and `footer.since` also support values other than year numbers.
|
||||
|
||||
## Reading files
|
||||
|
||||
Nothing out of the ordinary here. `include` and `exclude` may be the only things you need to alter.
|
||||
|
||||
Reference in New Issue
Block a user