Skip to content

Commit

Permalink
Update Site
Browse files Browse the repository at this point in the history
  • Loading branch information
shenoydotme committed Feb 1, 2024
1 parent a0f996a commit 059db4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@ Example:
[[menu.main]]
name = "blog"
weight = 100
url = "/blog/"
url = "blog/"
[[menu.main]]
name = "about"
weight = 200
url = "/about/"
url = "about/"
[[menu.main]]
name = "coderag"
name = "projects"
weight = 300
url = "/coderag/"
url = "projects/"
```

## Features
Expand Down
6 changes: 3 additions & 3 deletions exampleSite/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ displayrssicon = true
name = "posts"
weight = 100
identifier = "posts"
url = "/posts/"
url = "posts/"
[[menu.main]]
name = "about"
identifier = "about"
weight = 200
url = "/about/"
url = "about/"
[[menu.main]]
name = "projects"
identifier = "projects"
weight = 300
url = "/projects/"
url = "projects/"
2 changes: 1 addition & 1 deletion layouts/partials/li.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{ $total := sub $total 1 }}
{{ range $i, $cat := sort .Params.categories }}
<a class="category-link"
href="{{ "/categories/" | relURL }}{{ $cat | humanize | urlize }}">{{ $cat | upper }}</a>{{ if lt $i $total }},
href="{{ "categories/" | relURL }}{{ $cat | humanize | urlize }}">{{ $cat | upper }}</a>{{ if lt $i $total }},
{{ end }}
{{ end }}
{{ end }}
Expand Down

0 comments on commit 059db4e

Please sign in to comment.