mirror of
https://github.com/TeamPiped/hugo-whisper-theme.git
synced 2024-08-14 23:57:00 +00:00
use mainSections, update Permalinks and asset URLS
This commit is contained in:
parent
eba613e044
commit
d87fbd97cc
17 changed files with 59 additions and 50 deletions
|
@ -3,8 +3,7 @@
|
|||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class="menu-item-{{ .Name | lower }}{{ if $currentPage.IsMenuCurrent "main" . }} active{{ end }}">
|
||||
<a href="{{.URL}}">
|
||||
{{ .Pre }}
|
||||
<a href="{{ .URL }}">
|
||||
<span>{{ .Name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue