Skip to content

Commit

Permalink
Add absolute url config information (#4465)
Browse files Browse the repository at this point in the history
* Add absolute url config information

* revert ha_release change, change url description

* 🔨 Reverting "date" field
  • Loading branch information
ReneNulschDE authored and frenck committed Jan 28, 2018
1 parent 399b9e6 commit b62ba17
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions source/_components/weblink.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,23 @@ weblink:
url: http://192.168.1.1/
- name: Home Assistant
url: https://home-assistant.io
- name: Grafana
url: /grafana
```
Configuration variables:
- **name** (*Required*): Text for the link.
- **url** (*Required*): The URL for the link.
- **icon** (*Optional*): Icon for entry.
{% configuration %}
name:
description: Text for the link.
required: true
type: string
url:
description: The URL (absolute URL or absolute path) for the link.
required: true
type: string
icon:
description: Icon for entry.
required: false
type: string
{% endconfiguration %}
Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`.

0 comments on commit b62ba17

Please sign in to comment.