closedquestion-8.x-3.x-dev/templates/closedquestion.html.twig
templates/closedquestion.html.twig
{#
/**
* @file closedquestion.html.twig
* Template for the closed question.
*
* This template is used when viewing closedquestion.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content
* - attributes: HTML attributes for the container element.
*
*
* @ingroup themeable
*/
#}
{%
set classes = [
'entity',
'entity-closedquestion',
'entity-closedquestion-' ~ view_mode,
]
%}
<div{{ attributes.addClass(classes) }}>
{{ title_prefix }}
{% if not page %}
<h2{{ title_attributes }}>
<a href="{{ url }}" rel="bookmark">{{ title }}</a>
</h2>
{% endif %}
{{ title_suffix }}
<footer>
<div{{ author_attributes }}>
{% trans %}Submitted by {{ author }} on {{ created }}{% endtrans %}
</div>
</footer>
<div{{ content_attributes }}>
{{ content }}
</div>
</div>
