mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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