diff options
| -rw-r--r-- | layouts/partials/indexProfile.html | 6 | ||||
| -rw-r--r-- | layouts/partials/indexProfileButtons.html | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/layouts/partials/indexProfile.html b/layouts/partials/indexProfile.html index 1e87acf..b1c1ae7 100644 --- a/layouts/partials/indexProfile.html +++ b/layouts/partials/indexProfile.html @@ -10,7 +10,11 @@ {{- end }} {{- with .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> {{- end }} </div> diff --git a/layouts/partials/indexProfileButtons.html b/layouts/partials/indexProfileButtons.html deleted file mode 100644 index 84e42d2..0000000 --- a/layouts/partials/indexProfileButtons.html +++ /dev/null @@ -1,5 +0,0 @@ -{{- range . -}} -<a class="button" href="{{ .url }}" rel="noopener" title="{{ .name | humanize }}"> - <span class="button-inner">{{ .name }}</span> -</a> -{{- end -}}
\ No newline at end of file |
