{#- Material's partials/content.html (9.7), plus a block under the page title from the page's front matter: author and updated; then status (labels in extra.status); then reviewers (or the discussion issue while nobody has agreed to review, D21). -#} {% include "partials/tags.html" %} {% include "partials/actions.html" %} {% if "{{ page.title | d(config.site_name, true)}} {% endif %} {% set meta = page.meta or {} %} {% if meta.status or meta.author or meta.updated %} {% set line %}
{%- if meta.author or meta.updated -%}

{%- if meta.author -%} Author: {{ meta.author }} {%- endif -%} {%- if meta.updated -%} Last updated {%- endif -%}

{%- endif -%} {%- if meta.status -%}

{{- config.extra.status[meta.status] | d(meta.status) -}}

{%- endif -%} {%- if meta.status == "review" or meta.reviewers -%}

Reviewers: {% if meta.reviewers -%} {{ meta.reviewers | join(", ") }} {%- elif meta.discussion -%} open, join #{{ meta.discussion.rstrip("/").split("/") | last }} on drupal.org {%- else -%} open {%- endif -%}

{%- endif -%}
{% endset %} {{ page.content | replace("", "" ~ line, 1) }} {% else %} {{ page.content }} {% endif %} {% include "partials/source-file.html" %} {% include "partials/feedback.html" %} {% include "partials/comments.html" %}