ensure that vcard individuals that are authors do not display as links
This commit is contained in:
parent
94f7fea0c2
commit
be4fba9b48
2 changed files with 8 additions and 6 deletions
|
@ -13,7 +13,11 @@
|
|||
next statement -->
|
||||
<#macro showAuthorship statement>
|
||||
<#if statement.author??>
|
||||
<a href="${profileUrl(statement.uri("author"))}" title="${i18n().author_name}">${statement.authorName}</a>
|
||||
<#if statement.subclass?? && statement.subclass?contains("vcard")>
|
||||
${statement.authorName}
|
||||
<#else>
|
||||
<a href="${profileUrl(statement.uri("author"))}" title="${i18n().author_name}">${statement.authorName}</a>
|
||||
</#if>
|
||||
<#else>
|
||||
<#-- This shouldn't happen, but we must provide for it -->
|
||||
<a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().missing_author}">${i18n().missing_author}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue