mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +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!
|
||||
if TYPE_LINKS.include? type.downcase
|
||||
url = TYPE_LINKS[type.downcase] % {component: component}
|
||||
"[%s](%s)" % [type, url]
|
||||
"<a href=\"%s\">%s</a>" % [url, type]
|
||||
else
|
||||
type
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user