{#- Public display of a publisher_actor_id-style field: readable name + link, never the raw id, with the publisher's type, web address, email and description each on its own line below it -- values only, no labels, laid out like the contact points in contactpoints.html. Empty values are skipped. See helpers.actor_display. -#} {%- set actor = h.actor_display(data[field.field_name]) -%} {%- if actor -%}
{{ actor.name }} {%- if actor.type %}
{% if actor.type.startswith(('http://', 'https://')) %}{{ actor.type }}{% else %}{{ actor.type }}{% endif %}{% endif -%} {%- if actor.url %}
{% if h.is_url(actor.url) %}{{ actor.url }}{% else %}{{ actor.url }}{% endif %}{% endif -%} {%- if actor.email %}
{{ actor.email }}{% endif -%} {%- if actor.description %}
{{ actor.description }}{% endif -%}
{%- endif -%}