{#
Generator and build metadata tags.
Controlled by config['expose_metadata'] = minimal|standard|extended
Defaults to minimal (generator only).
#}
<meta name="generator" content="{{ bengal.engine.name }} {{ bengal.engine.version }}">

{# Standard/Extended extras #}
{% if bengal.theme.name %}
<meta name="bengal:theme"
    content="{{ bengal.theme.name }}{% if bengal.theme.version %}@{{ bengal.theme.version }}{% end %}">
{% end %}

{# Suppress build timestamp in dev to avoid content churn and spurious reloads #}
{% if (not config.dev_server) and bengal.build.timestamp %}
<meta name="bengal:build" content="{{ bengal.build.timestamp }}">
{% end %}

{# Extended extras #}
{% if bengal.rendering.markdown %}
<meta name="bengal:markdown"
    content="{{ bengal.rendering.markdown }}{% if bengal.rendering.markdownVersion %}@{{ bengal.rendering.markdownVersion }}{% end %}">
{% end %}
{% if bengal.rendering.highlighter %}
<meta name="bengal:highlighter"
    content="{{ bengal.rendering.highlighter }}{% if bengal.rendering.highlighterVersion %}@{{ bengal.rendering.highlighterVersion }}{% end %}">
{% end %}
