Skip to content

Commit

Permalink
menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Zhang authored and Aaron Zhang committed Sep 28, 2024
1 parent 82c7675 commit 9c56b96
Show file tree
Hide file tree
Showing 8 changed files with 123 additions and 1 deletion.
19 changes: 18 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,21 @@ theme = 'PaperMod'

[taxonomies]
category = 'categories'
tag = 'tags'
tag = 'tags'

[menus]
[[menus.main]]
name = "Categories"
identifier = "categories"
pageRef = '/categories/'
weight = 10
[[menus.main]]
name = "Tags"
identifier = "tags"
pageRef = '/tags/'
weight = 20
[[menus.main]]
name = "Archives"
identifier = "archives"
pageRef = '/archives/'
weight = 30
15 changes: 15 additions & 0 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/archives/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span class="active">Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span class="active">Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/posts/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span>Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down
15 changes: 15 additions & 0 deletions public/tags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@
</div>
</div>
<ul id="menu">
<li>
<a href="https://go.aznotes.me/categories/" title="Categories">
<span>Categories</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/tags/" title="Tags">
<span class="active">Tags</span>
</a>
</li>
<li>
<a href="https://go.aznotes.me/archives/" title="Archives">
<span>Archives</span>
</a>
</li>
</ul>
</nav>
</header>
Expand Down

0 comments on commit 9c56b96

Please sign in to comment.