feat: added socials to bottom of site

This commit is contained in:
Leyla Becker 2026-02-11 17:27:28 -06:00
parent 1077572131
commit a330ae2b1c
5 changed files with 83 additions and 23 deletions

View file

@ -34,16 +34,20 @@
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' | cssHash }}" as="style">
<link rel="stylesheet" href="{{ 'style.css' | cssHash }}">
<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' | cssHash }}" as="style">
<link rel="stylesheet" href="{{ 'prism.css' | cssHash }}" media="print" onload="this.media='all'">
<noscript><link rel="stylesheet" href="{{ 'prism.css' | cssHash }}"></noscript>
<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>
@ -58,11 +62,29 @@
<footer>
<div>
<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>
<!-- 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">source</a>
<span>&copy; {{ page.date.getFullYear() }} Volpe</span>
</div>
<div>&copy; {{ page.date.getFullYear() }} Volpe</div>
</footer>
</body>
</html>