diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl index 6d9720e6..bb9f7491 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl @@ -14,14 +14,6 @@ <#-- Use a macro to keep variable assignments local; otherwise the values carry over to the next statement --> <#macro showAuthorship statement> - <#local resourceTitle> - <#if statement.infoResource??> - ${statement.infoResourceName} - <#else> - <#-- This shouldn't happen, but we must provide for it --> - missing information resource - - <#local citationDetails> <#if statement.subclass??> @@ -97,13 +89,19 @@ - <#-- if there's no citation details, we want to strip away the closing period that's placed after the - the resource name in the resourceTitle section above - --> - <#if citationDetails?has_content> - ${resourceTitle}. ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> - <#else> - ${resourceTitle} <@dt.yearSpan "${statement.dateTime!}" /> - + <#local resourceTitle> + <#if statement.infoResource??> + <#if citationDetails?has_content> + ${statement.infoResourceName}.  + <#else> + ${statement.infoResourceName} + + <#else> + <#-- This shouldn't happen, but we must provide for it --> + missing information resource + + + + ${resourceTitle} ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" />