minor changes for University and Person names with schema.org markup

This commit is contained in:
Nate Prewitt 2015-02-10 12:17:48 -07:00
parent 4dec645dd8
commit d121f725be
2 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@
<#local linkedIndividual> <#local linkedIndividual>
<#if statement.org??> <#if statement.org??>
<a href="${profileUrl(statement.uri("org"))}" title="${i18n().organization_name}">${statement.orgName}</a> <a itemscope itemtype="http://schema.org/CollegeOrUniversity" href="${profileUrl(statement.uri("org"))}" title="${i18n().organization_name}"><span itemprop="name">${statement.orgName}</span></a>
<#elseif editable> <#elseif editable>
<#-- Show the link to the context node only if the user is editing the page. --> <#-- Show the link to the context node only if the user is editing the page. -->
<a href="${profileUrl(statement.uri("edTraining"))}" title="${i18n().missing_organization}">${i18n().missing_organization}</a> <a href="${profileUrl(statement.uri("edTraining"))}" title="${i18n().missing_organization}">${i18n().missing_organization}</a>

View file

@ -11,10 +11,10 @@
<#macro showFullName statement> <#macro showFullName statement>
<#if statement.fullName?has_content> <#if statement.fullName?has_content>
<#if statement.prefix??>${statement.prefix!}</#if> <#if statement.prefix??><span itemprop="honorificPrefix">${statement.prefix!}</span></#if>
${statement.firstName!} <span itemprop="givenName">${statement.firstName!}</span>
${statement.middleName!} <span itemprop="additionalName">${statement.middleName!}</span>
${statement.lastName!}<#if statement.suffix??>, ${statement.suffix!}</#if> <span itemprop="familyName">${statement.lastName!}</span><#if statement.suffix??>, ${statement.suffix!}</#if>
</#if> </#if>
</#macro> </#macro>