diff options
Diffstat (limited to 'docs/configuration.md')
-rw-r--r-- | docs/configuration.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/configuration.md b/docs/configuration.md index a43d7f1..93fa898 100644 --- a/docs/configuration.md +++ b/docs/configuration.md | |||
@@ -66,6 +66,15 @@ colors: | |||
66 | # Optional message | 66 | # Optional message |
67 | message: | 67 | message: |
68 | # url: "https://<my-api-endpoint>" # Can fetch information from an endpoint to override value below. | 68 | # url: "https://<my-api-endpoint>" # Can fetch information from an endpoint to override value below. |
69 | # mapping: # allows to map fields from the remote format to the one expected by Homer | ||
70 | # title: 'id' # use value from field 'id' as title | ||
71 | # content: 'value' # value from field 'value' as content | ||
72 | # | ||
73 | # Real example using chucknorris.io for showing Chuck Norris facts as messages: | ||
74 | # url: https://api.chucknorris.io/jokes/random | ||
75 | # mapping: | ||
76 | # title: 'id' | ||
77 | # content: 'value' | ||
69 | style: "is-warning" | 78 | style: "is-warning" |
70 | title: "Optional message!" | 79 | title: "Optional message!" |
71 | icon: "fa fa-exclamation-triangle" | 80 | icon: "fa fa-exclamation-triangle" |