mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-01 11:10:51 +01:00
64 lines
2.3 KiB
HTML
64 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
{% if page.summary %}
|
|
{% assign description = page.summary %}
|
|
{% elsif page.excerpt %}
|
|
{% assign description = page.excerpt | strip_html | strip_newlines %}
|
|
{% endif %}
|
|
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>{{ page.title }}</title>
|
|
<meta name="author" content="Ellpeck Games">
|
|
{% if description %}
|
|
<meta name="description" content="{{ description }}">
|
|
{% endif %}
|
|
<meta name="keywords" content="Ellpeck, Ellpeck Games, Tiny Life, Steam, itch, itch.io, Sandbox, Life Simulator, Simulator, Sim, Isometric, Pixelart, Pixel Art, Retro">
|
|
|
|
<meta property="og:title" content="{{ page.title }}">
|
|
{% if description %}
|
|
<meta property="og:description" content="{{ description }}">
|
|
{% endif %}
|
|
<meta property="og:image" content="https://tinylifegame.com/media/icon.png">
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:site" content="@Ellpeck">
|
|
<meta name="twitter:creator" content="@Ellpeck">
|
|
|
|
{% feed_meta %}
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script>
|
|
const darkStorage = localStorage.getItem("dark");
|
|
const darkTheme = darkStorage === null ? window.matchMedia("(prefers-color-scheme: dark)").matches : darkStorage === "true";
|
|
</script>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato&display=swap">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=JetBrains+Mono&display=swap">
|
|
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/cadman">
|
|
<link rel="stylesheet" href="/style.css">
|
|
<link rel="icon" href="/favicon.ico">
|
|
</head>
|
|
|
|
<body data-spy="scroll" data-target="#navbar" data-offset="80">
|
|
<script>
|
|
if (darkTheme)
|
|
$("body").addClass("dark-mode");
|
|
</script>
|
|
|
|
{% include navbar.html %}
|
|
{% include cookie.html %}
|
|
|
|
<div class="content">
|
|
{{ content }}
|
|
</div>
|
|
|
|
{% include footer.html %}
|
|
</body>
|
|
|
|
</html>
|