mirror of
https://github.com/rommapp/docs.git
synced 2026-04-23 06:54:41 +00:00
add outdated block to docs
This commit is contained in:
+10
-1
@@ -1,6 +1,15 @@
|
|||||||
{% extends "base.html" %} {% block extrahead %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block extrahead %}
|
||||||
<meta
|
<meta
|
||||||
http-equiv="Content-Security-Policy"
|
http-equiv="Content-Security-Policy"
|
||||||
content="default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; script-src-elem 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: github.com raw.githubusercontent.com *.s3.amazonaws.com img.youtube.com invidget.switchblade.xyz cdn.jsdelivr.net; font-src 'self' data: fonts.gstatic.com; connect-src 'self' api.github.com;frame-ancestors 'none'; form-action 'self'; upgrade-insecure-requests;"
|
content="default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; script-src-elem 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' fonts.googleapis.com; img-src 'self' data: github.com raw.githubusercontent.com *.s3.amazonaws.com img.youtube.com invidget.switchblade.xyz cdn.jsdelivr.net; font-src 'self' data: fonts.gstatic.com; connect-src 'self' api.github.com;frame-ancestors 'none'; form-action 'self'; upgrade-insecure-requests;"
|
||||||
/>
|
/>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block outdated %}
|
||||||
|
You're not viewing the latest version.
|
||||||
|
<a href="{{ '../' ~ base_url }}">
|
||||||
|
<strong>Click here to go to latest.</strong>
|
||||||
|
</a>
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user