Hermit-V2 Theme Update
This commit is contained in:
@ -39,7 +39,7 @@ To update submodule and to have latest version of the theme with your project, r
|
||||
git submodule update --remote
|
||||
```
|
||||
|
||||
## GOOD-TO-KNOW LIST
|
||||
## First Use Knowledge
|
||||
|
||||
### Features Inherited from Original Theme
|
||||
|
||||
@ -96,6 +96,7 @@ The following icons are supported, please make sure the `name` filed is exactly
|
||||
| `shutterstock` | `freepik` | `adobestock` | `123rf` |
|
||||
| `dreamstime` | `dribbble` | `behance` | `paypal` |
|
||||
| `twitch` | `qq` | `mastodon` | `discord` |
|
||||
| `etsy` | `tiktok` | | |
|
||||
|
||||
If that's not enough, you can see [Overriding templates](#overriding-templates) section.
|
||||
|
||||
|
@ -1,12 +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 }}
|
||||
{{- 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 -}}
|
||||
|
Reference in New Issue
Block a user