diff --git a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-doi.ftl b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-doi.ftl index fba5531f..e3a56853 100644 --- a/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-doi.ftl +++ b/webapp/src/main/webapp/templates/freemarker/body/partials/individual/propStatement-doi.ftl @@ -10,8 +10,15 @@ <@showStatement statement property /> <#macro showStatement statement property> - ${statement.value!} - <@lmt.addCitationMetaTag uri=(property.uri!) content=(statement.value!) /> + <#assign doi = (statement.value!).toLowerCase(). + replace("http://doi.org/", ""). + replace("https://doi.org/", ""). + replace("http://dx.doi.org/", ""). + replace("https://dx.doi.org/", ""). + replace("doi:", "").trim()> + <#assign doiUrl = "https://doi.org/" + doi> + ${doiUrl} + <@lmt.addCitationMetaTag uri=(property.uri!) content=(doiUrl) />