From 36062439dd0c47dc50832a8ff95e23ca47c9de64 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Wed, 23 Sep 2020 16:39:23 +0530 Subject: [PATCH] profile-mode: remove unnecessary partial --- layouts/partials/indexProfile.html | 6 +++++- layouts/partials/indexProfileButtons.html | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 layouts/partials/indexProfileButtons.html 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 }}
- {{- partial "indexProfileButtons.html" . }} + {{- range . -}} + + {{ .name }} + + {{- end -}}
{{- end }} 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 . -}} - - {{ .name }} - -{{- end -}} \ No newline at end of file