Rewrite half the theme to make Mozilla observatory more happy about strict CSP

This commit is contained in:
daudix
2024-10-18 18:16:38 +03:00
parent 932c7d9aa4
commit 26b12aadf6
19 changed files with 730 additions and 679 deletions

View File

@ -12,7 +12,7 @@
<p>The requested page could not be found.{% if config.extra.issues_url %} If you feel this is not normal, then you can create an issue on the issue tracker.{% endif %}</p>
<div class="dialog-buttons">
<button class="inline-button" onclick="window.history.go(-1)">Go Back</button>
<a class="inline-button" href="{{ get_url(path='/', lang=lang) }}">Go Home</a>
{%- if config.extra.issues_url %}
<a class="inline-button colored external" href="{{ config.extra.issues_url }}" rel="{{ rel_attributes }}">File an Issue</a>
{%- endif %}