101 lines
No EOL
4.1 KiB
Text
101 lines
No EOL
4.1 KiB
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Volpe{% if title %} | {{ title }}{% endif %}</title>
|
|
{% if description %}
|
|
<meta name="description" content="{{ description }}">
|
|
{% endif %}
|
|
|
|
{# Critical CSS inlined for faster initial render #}
|
|
<style>
|
|
:root {
|
|
--primary-color: #2c3e50;
|
|
--secondary-color: #3498db;
|
|
--text-color: #333;
|
|
--background-color: #fff;
|
|
--border-color: #ddd;
|
|
--code-background: #f5f5f5;
|
|
}
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
line-height: 1.6;
|
|
color: var(--text-color);
|
|
background-color: var(--background-color);
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
|
|
header nav a { color: var(--primary-color); text-decoration: none; font-weight: bold; font-size: 1.2rem; }
|
|
main { min-height: calc(100vh - 200px); }
|
|
h1, h2, h3 { color: var(--primary-color); margin: 1.5rem 0 1rem; }
|
|
h1 { font-size: 2rem; }
|
|
footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border-color); text-align: center; color: #666; font-size: 0.9rem; }
|
|
footer > div {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
}
|
|
</style>
|
|
|
|
{# Preload full stylesheet with cache-busted filename #}
|
|
<link rel="preload" href="{{ 'style.css' | fileHash }}" as="style">
|
|
<link rel="stylesheet" href="{{ 'style.css' | fileHash }}">
|
|
|
|
{# Defer prism.css - only needed for syntax highlighting #}
|
|
<link rel="preload" href="{{ 'prism.css' | fileHash }}" as="style">
|
|
<link rel="stylesheet" href="{{ 'prism.css' | fileHash }}" media="print" onload="this.media='all'">
|
|
<noscript><link rel="stylesheet" href="{{ 'prism.css' | fileHash }}"></noscript>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<a href="/">Home</a>
|
|
</nav>
|
|
</header>
|
|
|
|
<main>
|
|
{{ content | safe }}
|
|
</main>
|
|
|
|
<footer>
|
|
<div>
|
|
<!-- Social Things -->
|
|
<span>
|
|
<a href="https://matrix.to/#/@jan-leila:cyberia.club" title="Matrix" style="display: inline-block; width: 24px; height: 24px; margin: 0 8px;">
|
|
<img src="{{ 'matrix-icon.svg' | fileHash('assets') }}" alt="Matrix Logo" style="width: 100%; height: 100%;">
|
|
</a>
|
|
<a href="https://git.jan-leila.com/jan-leila" title="Forgejo" style="display: inline-block; width: 24px; height: 24px; margin: 0 8px;">
|
|
<img src="{{ 'forgejo-icon.svg' | fileHash('assets') }}" alt="Forgejo Logo" style="width: 100%; height: 100%;">
|
|
</a>
|
|
<a href="https://mspsocial.net/@jan_leila" title="Mastodon" style="display: inline-block; width: 24px; height: 24px; margin: 0 8px;">
|
|
<img src="{{ 'mastodon-icon.svg' | fileHash('assets') }}" alt="Mastodon Logo" style="width: 100%; height: 100%;">
|
|
</a>
|
|
</span>
|
|
<span>
|
|
<a href="https://cyberia.click/prev.cgi?source=lambda"><- prev</a>
|
|
<a href="https://cyberia.click">cyberia webring</a>
|
|
<a href="https://cyberia.click/next.cgi?source=lambda">next -></a>
|
|
</span>
|
|
</div>
|
|
<!-- About site itself -->
|
|
<div>
|
|
<a href="https://git.jan-leila.com/jan-leila/volpe" style="display: flex;">
|
|
<span style="display: inline-block; width: 24px; height: 24px; margin: 0 8px;">
|
|
<img src="{{ 'git-icon.svg' | fileHash('assets') }}" alt="Git Logo" style="width: 100%; height: 100%;">
|
|
</span>
|
|
source
|
|
</a>
|
|
<a href="http://2ggpzgonqsll5gi56u47aywu4qyl37eiu5jjrq7ma43z77ekkwuqxmid.onion" style="display: flex;">
|
|
<span style="display: inline-block; width: 24px; height: 24px; margin: 0 8px;">
|
|
<img src="{{ 'onion-icon.svg' | fileHash('assets') }}" alt="Tor Onion Logo" style="width: 100%; height: 100%;">
|
|
</span>
|
|
onion mirror
|
|
</a>
|
|
<span>© {{ page.date.getFullYear() }} Volpe</span>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |