Skip to content

Commit 15b2c45

Browse files
committed
update layout to avoid some unnecessary header elements
1 parent 8f5fa8e commit 15b2c45

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

layouts/templates/base.shtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
<super>
1414
</head>
1515
<body>
16-
<nav id="main-nav" class="centered">
17-
<a href="/">Home</a>
18-
<a href="/zls/install">ZLS</a>
19-
<a href="https://github.com/sponsors/zigtools">Sponsor</a>
20-
<a href="https://github.com/zigtools" target="_blank">GitHub</a>
21-
</nav>
2216
<header id="header">
17+
<nav id="main-nav" class="centered">
18+
<a href="/">Home</a>
19+
<a href="/zls/install">ZLS</a>
20+
<a href="https://github.com/sponsors/zigtools">Sponsor</a>
21+
<a href="https://github.com/zigtools" target="_blank">GitHub</a>
22+
</nav>
2323
<super>
2424
</header>
2525
<div id="content">

layouts/templates/with-zls-docs.shtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@
102102
</style>
103103
<super>
104104
</head>
105-
<header id="header">
106-
<super>
107-
</header>
105+
<header id="header"></header>
108106
<div id="content">
109107
<nav id="sidebar">
110108
<div id="sidebar-content">

layouts/zls-docs.shtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<extend template="with-zls-docs.shtml">
22
<title id="title" :text="$page.title"></title>
33
<head id="head"></head>
4-
<header id="header"></header>
54
<div id="main">
65
<main :html="$page.content()"></main>
76
</div>

layouts/zls-install.shtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
}
120120
</style>
121121
</head>
122-
<header id="header"></header>
123122
<div id="main">
124123
<noscript>
125124
<div class="banner noscript-banner">

0 commit comments

Comments
 (0)