Hermit-V2 Theme Update

This commit is contained in:
GitHub Action
2023-12-17 08:27:09 +00:00
parent 112c04a660
commit 174f4938ca
56 changed files with 2906 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{{- range .Site.Menus.main }}
{{- if .HasChildren }}
<a href="{{ .URL | absLangURL }}" class="has-children">{{ .Name }}</a>
<span class="sub-menu">
{{- range .Children }}
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
{{- end }}
</span>
{{- else }}
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
{{- end }}
{{- end }}