You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.7 KiB
57 lines
1.7 KiB
{% if PROD %} |
|
<?php |
|
$themeClass = ''; |
|
if (!empty($_COOKIE['theme'])) { |
|
$themeClass = $_COOKIE['theme']; |
|
} |
|
?> |
|
{% endif %} |
|
|
|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
{% block head %} |
|
<meta charset="UTF-8"/> |
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
|
|
<title>{% block title %}{{ SITENAME }}{% endblock title %}</title> |
|
<meta name="author" content="{{ AUTHOR }}" /> |
|
{% endblock head %} |
|
|
|
<link rel="preload" href="/theme/fonts/AppSILB.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/AppSILBI.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/AppSILI.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/AppSILR.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
|
|
<link rel="preload" href="/theme/fonts/Lato-Bold.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/Lato-BoldItalic.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/Lato-Italic.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
<link rel="preload" href="/theme/fonts/Lato-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous"> |
|
|
|
<link rel="icon" href="favicon.svg"> |
|
|
|
<style> |
|
{% include 'style.css' %} |
|
{% include 'fonts.css' %} |
|
</style> |
|
|
|
<script defer src="/theme/instant-page.js"></script> |
|
</head> |
|
|
|
<body> |
|
<div class="container"> |
|
<div class="bar"> |
|
{% block info %} |
|
{% endblock %} |
|
</div> |
|
|
|
{% block content %} |
|
{% endblock %} |
|
</div> |
|
|
|
<p class="copyright"> |
|
© 2012–2021 Tanner Collin |
|
</p> |
|
</body> |
|
</html> |
|
|
|
|