Watch
1
0
Fork
You've already forked rgebee-info
0
rgebee-info/templates/base.html
Chris Dill ab79feb4ab
All checks were successful
Build / build (push) Successful in 18s
feat: Update templates and styling
2026-10-29 21:20:26 +00:00

53 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<meta name="theme-color" content="#16191d">
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
{% set desc = config.description %}
{% if page and page.description %}
{% set desc = page.description %}
{% endif %}
<meta name="description" content="{{ desc }}">
{% if page %}
<link rel="canonical" href="{{ page.canonical_url | safe }}">
<meta property="og:type" content="{% if page.kind == 'page' %}article{% else %}website{% endif %}">
<meta property="og:title" content="{{ page.title }}">
<meta property="og:description" content="{{ desc }}">
<meta property="og:url" content="{{ page.canonical_url | safe }}">
{% endif %}
<link rel="stylesheet" href="/global.css">
<link rel="icon" type="image/png" href="/images/favicon.svg">
<link rel="alternate" type="application/atom+xml" title="Atom" href="{{ config.base_url | safe }}/atom.xml">
</head>
<body>
{% set path = current_path | default(value="") %}
<header class="container">
<nav aria-label="nav">
<ul>
<li>
<a href="/"{% if path == "/" %} aria-current="page"{% endif %}>Home</a>
</li>
<li>
<a href="/blog/"{% if path == "/blog/" %} aria-current="page"{% endif %}>Blog</a>
</li>
</ul>
</nav>
</header>
<main class="container">
{% block content %}
{% endblock content %}
</main>
<footer class="container">
<div>
<a href="/atom.xml" target="_blank" rel="noopener">RSS</a>
</div>
</footer>
</body>
</html>