profile-mode: remove unnecessary partial

This commit is contained in:
Aditya Telange 2020-09-23 16:39:23 +05:30
parent 1a2a6d7c78
commit 36062439dd
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
2 changed files with 5 additions and 6 deletions

View File

@ -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>

View File

@ -1,5 +0,0 @@
{{- range . -}}
<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}">
<span class="button-inner">{{ .name }}</span>
</a>
{{- end -}}