From b62ba17d3ad26da3e472caefd02fff76af8e7b4a Mon Sep 17 00:00:00 2001 From: Rene Nulsch <33263735+ReneNulschDE@users.noreply.github.com> Date: Sun, 28 Jan 2018 09:55:17 +0100 Subject: [PATCH] Add absolute url config information (#4465) * Add absolute url config information * revert ha_release change, change url description * :hammer: Reverting "date" field --- source/_components/weblink.markdown | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/source/_components/weblink.markdown b/source/_components/weblink.markdown index 4d4d5b9cc88..b19f3219558 100644 --- a/source/_components/weblink.markdown +++ b/source/_components/weblink.markdown @@ -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`.