Commit 3e2738fe authored by Fabien Maniere's avatar Fabien Maniere

add external icon on DOI link

parent c32921b0
Pipeline #6690 canceled with stages
This diff is collapsed.
This diff is collapsed.
......@@ -365,7 +365,11 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
, id: getIdName "doi" }
[
if (TUV.validateURL doi) then
H.a {classname: "", on: { click: goToURLInNewTab $ doi }} [ H.text doi ]
H.a {classname: "", on: { click: goToURLInNewTab $ doi }}
[
H.text doi
, H.i { className: "fa fa-external-link mx-1 small" } []
]
else
H.text doi
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment