| 1 | {% extends "base.html" %} |
| 2 | {% block announce %} |
| 3 | {#- It's like helm and you need to add dashes, see https://github.com/squidfunk/mkdocs-material/discussions/5803#discussioncomment-7690065; note that _Jinja_ comments need to be used, not HTML -#} |
| 4 | {%- if config.extra.nightly -%} |
| 5 | {#- Need to reapply margin from base CSS, which is overridden in extra CSS (to fix empty banner) -#} |
| 6 | <div style="margin: 0.6rem auto"> |
| 7 | This is <strong>nightly</strong> documentation, and it may differ from stable. Please see <strong><a href="{{ '../' ~ base_url }}">here for stable documentation</a></strong>. |
| 8 | </div> |
| 9 | {%- endif -%} |
| 10 | {% endblock %} |