Merge branch 'main' into dev

This commit is contained in:
Svilen Markov committed 2025-02-22 13:33:17 +00:00
commit 9c98c6d0c4
6 files changed
+53 -17

No files matched your search

+2 -2
View File
@@ -1311,7 +1311,7 @@ headers:
When set to `true`, removes the border and padding around the widget.
##### `template`
The template that will be used to display the data. It relies on Go's `html/template` package so it's recommended to go through [its documentation](https://pkg.go.dev/text/template) to understand how to do basic things such as conditionals, loops, etc. In addition, it also uses [tidwall's gjson](https://pkg.go.dev/github.com/tidwall/gjson) package to parse the JSON data so it's worth going through its documentation if you want to use more advanced JSON selectors. You can view additional examples with explanations and function definitions [here](custom-api.md).
The template that will be used to display the data. It relies on Go's `html/template` package so it's recommended to go through [its documentation](https://pkg.go.dev/text/template) to understand how to do basic things such as conditionals, loops, etc. In addition, it also uses [tidwall's gjson](https://github.com/tidwall/gjson) package to parse the JSON data so it's worth going through its documentation if you want to use more advanced JSON selectors. You can view additional examples with explanations and function definitions [here](custom-api.md).
### Extension
Display a widget provided by an external source (3rd party). If you want to learn more about developing extensions, checkout the [extensions documentation](extensions.md) (WIP).
@@ -1619,7 +1619,7 @@ services:
glance:
image: glanceapp/glance
environment:
- GITHUB_TOKEN: <your token>
- GITHUB_TOKEN=<your token>
```
and then use it in your `glance.yml` like this: