Adopt repository-configured chronicle theme
This commit is contained in:
@@ -4,40 +4,34 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{{ page.summary }}">
|
||||
<meta name="color-scheme" content="dark light">
|
||||
{% if page.type == "home" %}
|
||||
<title>{{ site.title }}</title>
|
||||
{% else %}
|
||||
<title>{{ page.title }} · {{ site.title }}</title>
|
||||
{% endif %}
|
||||
{% for stylesheet in theme.styles %}
|
||||
<link rel="stylesheet" href="{{ stylesheet }}">
|
||||
{% endfor %}
|
||||
<meta name="color-scheme" content="dark">
|
||||
{% if page.type == "home" %}<title>Home — {{ site.title }}</title>{% else %}<title>{{ page.title }} — {{ site.title }}</title>{% endif %}
|
||||
{% for stylesheet in theme.styles %}<link rel="stylesheet" href="{{ stylesheet }}">{% endfor %}
|
||||
</head>
|
||||
<body>
|
||||
<a class="skip-link" href="#main-content">Skip to content</a>
|
||||
<header class="site-header">
|
||||
<div class="shell header-inner">
|
||||
<a class="brand" href="/" aria-label="{{ site.title }} home">
|
||||
<span class="brand-mark" aria-hidden="true">L</span>
|
||||
<span>{{ site.title }}</span>
|
||||
</a>
|
||||
<nav class="site-nav" aria-label="Primary navigation">
|
||||
{% for item in navigation %}
|
||||
<a href="{{ item.route }}"{% if item.route == page.route %} aria-current="page"{% endif %}>{{ item.label }}</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<div class="wrap">
|
||||
<div class="header-top">
|
||||
<div class="brand-lockup">
|
||||
<a class="brand-mark" href="/">{{ site.title }}</a>
|
||||
<span class="brand-tag">{{ site.presentation.tagline }}</span>
|
||||
</div>
|
||||
<nav class="registry" aria-label="Primary navigation">
|
||||
{% for item in navigation %}{% if item.route != "/" %}<a href="{{ item.route }}"{% if item.route == page.route %} aria-current="page"{% endif %}>{{ item.label }}</a>{% endif %}{% endfor %}
|
||||
</nav>
|
||||
</div>
|
||||
<div class="header-links">
|
||||
<span class="file-number">{{ site.presentation.registryLabel }}</span>
|
||||
<div class="external-links">{% for link in site.presentation.headerLinks %}<a href="{{ link.url }}">{{ link.label }}</a>{% endfor %}</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main id="main-content" class="shell">
|
||||
{{ page.body | safe_page_body }}
|
||||
</main>
|
||||
|
||||
<main id="main-content">{{ page.body | safe_page_body }}</main>
|
||||
<footer class="site-footer">
|
||||
<div class="shell footer-inner">
|
||||
<p><strong>{{ site.title }}</strong> turns Git-owned configuration and content into a dependable website.</p>
|
||||
<p class="footer-meta">Built from immutable sources.</p>
|
||||
<div class="wrap footer-row">
|
||||
<p class="footer-brand">{{ site.presentation.footerNotice }}</p>
|
||||
<div class="footer-links">{% for link in site.presentation.footerLinks %}<a href="{{ link.url }}">{{ link.label }}</a>{% endfor %}</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user