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
|
git submodule update --remote
|
||||||
```
|
```
|
||||||
|
|
||||||
## GOOD-TO-KNOW LIST
|
## First Use Knowledge
|
||||||
|
|
||||||
### Features Inherited from Original Theme
|
### 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` |
|
| `shutterstock` | `freepik` | `adobestock` | `123rf` |
|
||||||
| `dreamstime` | `dribbble` | `behance` | `paypal` |
|
| `dreamstime` | `dribbble` | `behance` | `paypal` |
|
||||||
| `twitch` | `qq` | `mastodon` | `discord` |
|
| `twitch` | `qq` | `mastodon` | `discord` |
|
||||||
|
| `etsy` | `tiktok` | | |
|
||||||
|
|
||||||
If that's not enough, you can see [Overriding templates](#overriding-templates) section.
|
If that's not enough, you can see [Overriding templates](#overriding-templates) section.
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
{{- range .Site.Menus.main }}
|
{{- range .Site.Menus.main -}}
|
||||||
{{- if .HasChildren }}
|
{{- if .HasChildren -}}
|
||||||
<a href="{{ .URL | absLangURL }}" class="has-children">{{ .Name }}</a>
|
<a href="{{ .URL | absLangURL }}" class="has-children">{{ .Name }}</a>
|
||||||
<span class="sub-menu">
|
<span class="sub-menu">
|
||||||
{{- range .Children }}
|
{{- range .Children -}}
|
||||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
</span>
|
</span>
|
||||||
{{- else }}
|
{{- else -}}
|
||||||
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
|
Reference in New Issue
Block a user