templates: Mark article state notices as lang=en.

This commit is contained in:
Bradley Sepos 2018-08-14 20:27:40 -04:00
parent f5eb86f2b1
commit 14153c4d86
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7

View File

@ -2,10 +2,10 @@
{{ template.styles }}
{{ template.header }}
{% if document.state contains "obsolete" %}
<div class="notice obsolete"><p>This article is for an older version of {{ document.project }}. <a href="{{ base.relpath }}{{ document.language-code | slug }}/">See all versions</a>.</p></div>
<div class="notice obsolete" lang="en"><p>This article is for an older version of {{ document.project }}. <a href="{{ base.relpath }}{{ document.language-code | slug }}/">See all versions</a>.</p></div>
{% endif %}
{% if document.state contains "draft" %}
<div class="notice draft"><p>This article is a draft and may contain incomplete or incorrect information.</p></div>
<div class="notice draft" lang="en"><p>This article is a draft and may contain incomplete or incorrect information.</p></div>
{% endif %}
{{ template.document }}
{{ template.footer }}