<commit_before><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#-- Custom object property statement view for faux property "authors". See the PropertyConfig.n3 file for details.

     This template must be self-contained and not rely on other variables set for the individual page, because it
     is also used to generate the property statement during a deletion.
 -->

<#import "lib-sequence.ftl" as s>
<#import "lib-meta-tags.ftl" as lmt>

<@showAuthorship statement />

<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
     next statement --->
<#macro showAuthorship statement>
    <div class="pub_author-name">
    <#if statement.person??>
            <a href="${profileUrl(statement.uri("person"))}">${statement.standardName}</a> (${statement.name})<#if statement.addressNumber??><sup>[ ${statement.addressNumber} ]</sup></#if>
    <#elseif statement.authorship??>
        	<#-- <a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().author_name}">${statement.name}</a> -->
            ${statement.standardName} (${statement.name})
            <#if statement.addressNumber??><sup>[ ${statement.addressNumber} ]</sup></#if>
            <#-- ${statement.name}</a><#if statement.address??>, ${statement.address}</#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>
    </#if>
    </div>
</#macro><commit_msg>Make standardName optional on the template to match the listview config<commit_after><#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->

<#-- Custom object property statement view for faux property "authors". See the PropertyConfig.n3 file for details.

     This template must be self-contained and not rely on other variables set for the individual page, because it
     is also used to generate the property statement during a deletion.
 -->

<#import "lib-sequence.ftl" as s>
<#import "lib-meta-tags.ftl" as lmt>

<@showAuthorship statement />

<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
     next statement --->
<#macro showAuthorship statement>
    <div class="pub_author-name">
    <#if statement.person??>
            <a href="${profileUrl(statement.uri("person"))}">${statement.standardName!statement.name}</a> (${statement.name})<#if statement.addressNumber??><sup>[ ${statement.addressNumber} ]</sup></#if>
    <#elseif statement.authorship??>
        	<#-- <a href="${profileUrl(statement.uri("authorship"))}" title="${i18n().author_name}">${statement.name}</a> -->
            ${statement.standardName!statement.name} (${statement.name})
            <#if statement.addressNumber??><sup>[ ${statement.addressNumber} ]</sup></#if>
            <#-- ${statement.name}</a><#if statement.address??>, ${statement.address}</#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>
    </#if>
    </div>
</#macro>
{'fraction_non_alphanumeric': 0.1761786600496278, 'fraction_numerical': 0.004342431761786601, 'mean_word_length': 3.820627802690583, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2504220', 'n_tokens_mistral': 944, 'n_tokens_neox': 921, 'n_words': 263}