mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 11:16:54 +00:00
🚑 Fixes type links in configuration blocks (#9968)
This commit is contained in:
parent
9963bd2fa0
commit
337a165934
@ -37,7 +37,7 @@ module Jekyll
|
|||||||
type.strip!
|
type.strip!
|
||||||
if TYPE_LINKS.include? type.downcase
|
if TYPE_LINKS.include? type.downcase
|
||||||
url = TYPE_LINKS[type.downcase] % {component: component}
|
url = TYPE_LINKS[type.downcase] % {component: component}
|
||||||
"[%s](%s)" % [type, url]
|
"<a href=\"%s\">%s</a>" % [url, type]
|
||||||
else
|
else
|
||||||
type
|
type
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user