forked from purplebored/purplebored.pl
@@ -19,7 +19,7 @@
|
||||
/>
|
||||
<meta property="og:type" content="{% block type %}website{% endblock %}" />
|
||||
|
||||
<meta name="color-scheme" content="dark" />
|
||||
<meta name="color-scheme" content="dark light" />
|
||||
<meta name="theme-color" content="{% block colour %}#121212{% endblock %}" />
|
||||
|
||||
<meta property="og:locale" content="{{ locale | escape }}" />
|
||||
@@ -33,7 +33,10 @@
|
||||
|
||||
<link rel="sitemap" href="/sitemap.xml" type="application/xml" />
|
||||
|
||||
<link rel="stylesheet" href="{{ url_for("static", filename="css/base.css") }}" type="text/css" referrerpolicy="no-referrer" />
|
||||
{%- macro style(filename) -%}<link rel="stylesheet" href="{{ url_for("static", filename=filename) }}" type="text/css" referrerpolicy="no-referrer" />{%- endmacro -%}
|
||||
{%- macro script(filename) -%}<script src="{{ url_for("static", filename=filename) }}" defer referrerpolicy="no-referrer"></script>{%- endmacro -%}
|
||||
|
||||
{{ style("css/base.css") }}
|
||||
|
||||
<script type="text/javascript" nonce="{{ csp_nonce }}">
|
||||
<!--//--><![CDATA[//><!--
|
||||
@@ -43,18 +46,20 @@
|
||||
*
|
||||
* Copyright (C) {{ current_year }} {{ name | escape }} <{{ name | escape }}>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* You should have received a copy of the Apache License, Version 2.0
|
||||
* along with this program. If not, see <http://www.apache.org/licenses/LICENSE-2.0>.
|
||||
*
|
||||
* @licend The above is the entire license notice for the JavaScript code
|
||||
* in this page.
|
||||
@@ -62,10 +67,13 @@
|
||||
//--><!]]>
|
||||
</script>
|
||||
|
||||
{{ script("js/base.js") }}
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<canvas id="night"></canvas>
|
||||
{%- block body -%}{%- endblock -%}
|
||||
<main>
|
||||
<article>
|
||||
|
||||
Reference in New Issue
Block a user