mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
profile-mode: remove unnecessary partial
This commit is contained in:
parent
1a2a6d7c78
commit
36062439dd
@ -10,7 +10,11 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .buttons }}
|
{{- with .buttons }}
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
{{- partial "indexProfileButtons.html" . }}
|
{{- range . -}}
|
||||||
|
<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
|
||||||
|
<span class="button-inner">{{ .name }}</span>
|
||||||
|
</a>
|
||||||
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
{{- range . -}}
|
|
||||||
<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
|
|
||||||
<span class="button-inner">{{ .name }}</span>
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
Loading…
Reference in New Issue
Block a user