mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Updates
Added meta tag support for Google site verification.
This commit is contained in:
parent
b49d625a01
commit
bf31a59f2c
@ -6,6 +6,8 @@
|
||||
|
||||
{% set home_subtitle = "A <strong>modern</strong> self-hosted file upload service" %}
|
||||
|
||||
{% set google_site_verification = null %}
|
||||
|
||||
{#
|
||||
This will be appended to the URLs of static files (CSS, JS, images, etc),
|
||||
and should be changed on every updates to make sure clients load the very latest version of them.
|
||||
|
@ -7,6 +7,7 @@
|
||||
<meta name="keywords" content="upload,{{ globals.name }},file,images,hosting">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<title>{{ title | default(globals.name + ' – ' + globals.motto) | safe }}</title>
|
||||
|
||||
{% block stylesheets %}
|
||||
@ -48,11 +49,10 @@
|
||||
<meta name="application-name" content="{{ globals.name }}">
|
||||
<meta name="msapplication-config" content="{{ globals.root }}/icons/browserconfig.xml?v={{ globals.v2 }}">
|
||||
<meta name="theme-color" content="#232629">
|
||||
{% block endmeta %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
{% block scripts %}
|
||||
<!-- Scripts -->
|
||||
{% endblock %}
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,5 +1,12 @@
|
||||
{% extends "_layout.njk" %}
|
||||
|
||||
{% block endmeta %}
|
||||
{{ super() }}
|
||||
{% if globals.google_site_verification %}
|
||||
<meta name="google-site-verification" content="{{ globals.google_site_verification }}" />
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ super() }}
|
||||
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v3 }}">
|
||||
|
Loading…
Reference in New Issue
Block a user