mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Resolve terminology links causing new table rows (#32652)
This commit is contained in:
parent
6c63a81994
commit
7c215a35b7
@ -34,7 +34,7 @@ module Jekyll
|
|||||||
|
|
||||||
if glossary.key?("link")
|
if glossary.key?("link")
|
||||||
rendered_link = Liquid::Template.parse(glossary["link"]).render(context).strip
|
rendered_link = Liquid::Template.parse(glossary["link"]).render(context).strip
|
||||||
link = "<br><a class='terminology-link' href='#{rendered_link}' target='_blank'>[Learn more]</a>"
|
link = "<small><a class='terminology-link' href='#{rendered_link}' target='_blank'>[Learn more]</a></small>"
|
||||||
end
|
end
|
||||||
|
|
||||||
tooltip = "<span class='terminology-tooltip'>#{definition}#{link || ""}</span>"
|
tooltip = "<span class='terminology-tooltip'>#{definition}#{link || ""}</span>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user