summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 16:39:23 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-23 16:39:23 +0530
commit36062439dd0c47dc50832a8ff95e23ca47c9de64 (patch)
treebef2039c0c8cd36b4c3962f239b1ce04c2216d08
parent1a2a6d7c78f3b00ba4c82b0bd016bd755838a6a7 (diff)
profile-mode: remove unnecessary partial
-rw-r--r--layouts/partials/indexProfile.html6
-rw-r--r--layouts/partials/indexProfileButtons.html5
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