mirror of https://github.com/knative/docs.git
21 lines
958 B
HTML
21 lines
958 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block announce %}
|
|
{% if config.extra.version_warning %}
|
|
<div class="versionwarning" style="margin: .6rem auto; padding: 0 .8rem">
|
|
<h1 style="color: #ffcc00">You are viewing documentation for Knative version: {{ config.extra.knative_version }}</h1>
|
|
<p>
|
|
Knative {{ config.extra.knative_version }} documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see <a href="{{ base_url }}/../docs/">the latest version</a>.
|
|
</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{{ super() }}
|
|
<!-- For now, load Jquery and Bootstrap because the cookie warning (built from the hugo-based website) uses them -->
|
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
|
<script src="/js/cookie-consent.js"></script>
|
|
{% endblock %}
|