Skip to content

Commit f56cd4a

Browse files
Fix navigation by overriding Cayman layout to include header.
The Cayman theme inlines the page header in default.html and never loads _includes/header.html, so the navigation menu was never rendered. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 92ce679 commit f56cd4a

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

_layouts/default.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="UTF-8">
5+
6+
{% seo %}
7+
<link rel="preconnect" href="https://fonts.gstatic.com">
8+
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
9+
<meta name="viewport" content="width=device-width, initial-scale=1">
10+
<meta name="theme-color" content="#157878">
11+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
12+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
13+
{% include head-custom.html %}
14+
</head>
15+
<body>
16+
<a id="skip-to-content" href="#content">Skip to the content.</a>
17+
18+
{% include header.html %}
19+
20+
<main id="content" class="main-content" role="main">
21+
{{ content }}
22+
23+
<footer class="site-footer">
24+
{% if site.github.is_project_page %}
25+
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
26+
{% endif %}
27+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
28+
</footer>
29+
</main>
30+
</body>
31+
</html>

0 commit comments

Comments
 (0)