diff --git a/vanilla/templates/_layouts/docs.html b/vanilla/templates/_layouts/docs.html index 8dd7317..c47ffa7 100644 --- a/vanilla/templates/_layouts/docs.html +++ b/vanilla/templates/_layouts/docs.html @@ -81,30 +81,30 @@
{% block content_title %} - - {% if title %} -

{{ title.split('|')[0] }}

- {% endif %} - - {% set status_labels = { - 'braindump': 'Braindump', - 'draft': 'Draft', - 'review': 'Pending review', - 'approved': 'Approved', - 'completed': 'Completed', - 'rejected': 'Rejected', - 'outdated': 'Outdated', - 'deprecated': 'Deprecated' - } %} - - {% if status in ['braindump', 'draft', 'review'] %} -
{{ status_labels[status] }}
- {% elif status in ['approved', 'completed'] %} -
{{ status_labels[status] }}
- {% elif status in ['outdated', 'deprecated'] %} -
{{ status_labels[status] }}
- {% endif %} - +
+ {% if title %} +

{{ title.split('|')[0] }}

+ {% endif %} + + {% set status_labels = { + 'braindump': 'Braindump', + 'draft': 'Draft', + 'review': 'Pending review', + 'approved': 'Approved', + 'completed': 'Completed', + 'rejected': 'Rejected', + 'outdated': 'Outdated', + 'deprecated': 'Deprecated' + } %} + + {% if status in ['braindump', 'draft', 'review'] %} +
{{ status_labels[status] }}
+ {% elif status in ['approved', 'completed'] %} +
{{ status_labels[status] }}
+ {% elif status in ['outdated', 'deprecated'] %} +
{{ status_labels[status] }}
+ {% endif %} +
{% include "_layouts/_component_tabs.html" %} {% if not page_tabs %}