Watch
1
0
Fork
You've already forked rgebee-info
0

feat: Update templates and styling
All checks were successful
Build / build (push) Successful in 18s

This commit is contained in:
Chris 2026-10-29 20:37:59 +00:00
commit ab79feb4ab

View file

@ -2,48 +2,52 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>
{% if page.title %}
{{ page.title }}
{% elif section.title %}
{{ config.title }} - {{ section.title }}
{% else %}
{{ config.title }}
{% endif %}
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="description" content="{{ config.description }}">
<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/svg+xml" href="/images/favicon.svg">
<link
rel="alternate"
type="application/atom+xml"
title="RSS"
href="{{ config.base_url }}/atom.xml"
>
<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>
<nav aria-label="nav">
<ul>
<li>
<a href="/">Home</a>
<a href="/"{% if path == "/" %} aria-current="page"{% endif %}>Home</a>
</li>
<li>
<a href="/blog">Blog</a>
<a href="/blog/"{% if path == "/blog/" %} aria-current="page"{% endif %}>Blog</a>
</li>
</ul>
</nav>
</header>
<main class="container">
{% block content %} {% endblock content %}
{% block content %}
{% endblock content %}
</main>
<footer class="container">
<a href="/atom.xml" target="_blank" rel="noopener">RSS</a>
<div>
<a href="/atom.xml" target="_blank" rel="noopener">RSS</a>
</div>
</footer>
</body>
</html>