Skip to content

Commit

Permalink
docs: fix tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Feb 23, 2024
1 parent 16aa66a commit 9e6d665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/_includes/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default (
{ content, title, search, head }: Lume.Data,
{}: Lume.Helpers,
) => {
const nav = search.pages()
const nav = search.pages("category!=index")
.map((x) => /*html*/ `<a href="${x.url}">${x.title}</a>`).join("\n")

return /*html*/ `
Expand All @@ -27,7 +27,10 @@ export default (
<h1>
<a href="https://github.com/daangn/stackgraph">StackGraph</a>
</h1>
<nav>${nav}</nav>
<nav>
<a href="/index.html">StackGraph란</a>
${nav}
</nav>
</header>
<hr />
${content}
Expand Down
1 change: 1 addition & 0 deletions doc/index.page.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const category = "index"
export const title = "StackGraph란"

const readme = () =>
Expand Down

0 comments on commit 9e6d665

Please sign in to comment.