diff --git a/docs/configuration.md b/docs/configuration.md index 9a8c2be..2dffb2e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -357,6 +357,7 @@ pages: | ---- | ---- | -------- | | type | string | yes | | title | string | no | +| title-url | string | no | | cache | string | no | | css-class | string | no | @@ -366,6 +367,9 @@ Used to specify the widget. #### `title` The title of the widget. If left blank it will be defined by the widget. +#### `title-url` +The URL to go to when clicking on the widget's title. If left blank it will be defined by the widget (if available). + #### `cache` How long to keep the fetched data in memory. The value is a string and must be a number followed by one of s, m, h, d. Examples: diff --git a/internal/assets/templates/widget-base.html b/internal/assets/templates/widget-base.html index c32f9d0..eed89e1 100644 --- a/internal/assets/templates/widget-base.html +++ b/internal/assets/templates/widget-base.html @@ -1,6 +1,6 @@