mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-05 19:40:09 +00:00
09f51c8448
Thanks to Zephyrrus for the hints about nunjucks, sort of (he did not really give out any specific hints to me, I stalked his fork, lmao). * Replaced Handlebars with Nunjucks. * Replaced all static HTML files with their NJK-equivalent (excluding error pages). * Renamed "albumDomain" to "homeDomain" in config.sample.js (make sure you update your config.js too). * Updated dependencies: knex and eslint-plugin-import (dev). * Updated vscode's settings.json (I may update this again very soon).
59 lines
2.9 KiB
Plaintext
59 lines
2.9 KiB
Plaintext
{% import '_globals.njk' as globals %}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="description" content="{{ globals.description }}">
|
|
<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 %}
|
|
<!-- Stylesheets -->
|
|
<link rel="stylesheet" type="text/css" href="libs/bulma/bulma.min.css?v={{ globals.v }}">
|
|
<link rel="stylesheet" type="text/css" href="css/style.css?v={{ globals.v }}">
|
|
{% endblock %}
|
|
|
|
{% block meta %}
|
|
<!-- Open Graph tags -->
|
|
<meta property="og:url" content="{{ globals.root }}" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:title" content="{{ globals.name }} – {{ globals.motto }}" />
|
|
<meta property="og:description" content="{{ globals.description }}" />
|
|
<meta property="og:image" content="{{ globals.root }}/icons/600px.png" />
|
|
<meta property="og:image:width" content="600" />
|
|
<meta property="og:image:height" content="600" />
|
|
<meta property="og:image" content="{{ globals.root }}/images/fb_share.png" />
|
|
<meta property="og:image:width" content="1200" />
|
|
<meta property="og:image:height" content="630" />
|
|
<meta property="og:locale" content="en_US" />
|
|
|
|
<!-- Twitter Card tags -->
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:title" content="{{ globals.name }} – {{ globals.motto }}">
|
|
<meta name="twitter:description" content="{{ globals.description }}">
|
|
<meta name="twitter:image" content="{{ globals.root }}/icons/600px.png">
|
|
{% endblock %}
|
|
|
|
<!-- Icons, configs, etcetera -->
|
|
<link rel="icon" type="image/png" href="{{ globals.root }}/icons/32pxr.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="{{ globals.root }}/icons/96pxr.png" sizes="96x96">
|
|
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/120px.png" sizes="120x120">
|
|
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/152px.png" sizes="152x152">
|
|
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/167px.png" sizes="167x167">
|
|
<link rel="apple-touch-icon" href="{{ globals.root }}/icons/180px.png" sizes="180x180">
|
|
<link rel="manifest" href="{{ globals.root }}/icons/manifest.json?v={{ globals.v }}">
|
|
<meta name="apple-mobile-web-app-title" content="{{ globals.name }}">
|
|
<meta name="application-name" content="{{ globals.name }}">
|
|
<meta name="msapplication-config" content="{{ globals.root }}/icons/browserconfig.xml?v={{ globals.v }}">
|
|
<meta name="theme-color" content="#232629">
|
|
</head>
|
|
<body>
|
|
{% block content %}{% endblock %}
|
|
{% block scripts %}
|
|
<!-- Scripts -->
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|