From 048aac5fac7e4731e6f96aabe5549f4bc844b6aa Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 6 Sep 2020 20:07:57 +0530 Subject: profile-mode: improvements --- layouts/partials/indexProfile.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/indexProfile.html b/layouts/partials/indexProfile.html index 7757d51..f0202bc 100644 --- a/layouts/partials/indexProfile.html +++ b/layouts/partials/indexProfile.html @@ -1,21 +1,18 @@
+ {{ with .Site.Params.profileMode }}
- {{if .Site.Params.profileMode.imageUrl}} -
- {{ .Site.Params.profileMode.imageTitle}} -
- {{end}} -

{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}} -

- {{- with .Site.Params.socialIcons }} + {{if .imageUrl}}{{ .imageTitle | default {{end}} +

{{ .title | default $.Site.Title }}

+ {{- with $.Site.Params.socialIcons }} {{- end }} - {{- with .Site.Params.profileMode.buttons }} + {{- with .buttons }}
{{ partial "indexProfileButtons.html" . }}
{{- end }}
+ {{end}}
\ No newline at end of file -- cgit v1.2.3