summaryrefslogtreecommitdiff
path: root/layouts/_default/index.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-24 16:58:47 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-24 16:58:47 +0530
commitf852d0692318f4f35c98943c3b00ba8d43119e68 (patch)
tree43f058f1299132eb9c807d63f8ff56541940e308 /layouts/_default/index.html
parent6683b858769721483230761f8d32ed460f4c0d2c (diff)
profile-mode : include social icons
usage : in config params: profileMode: socialIcons: - name: "<platform>" url: : "<link>"
Diffstat (limited to 'layouts/_default/index.html')
-rw-r--r--layouts/_default/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 2a1c64f..33fcbdf 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -9,6 +9,11 @@
</div>
{{end}}
<h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}</h1>
+ {{- with .Site.Params.profileMode.socialIcons }}
+ <div class="social-icons">
+ {{ partial "social-icons.html" . }}
+ </div>
+ {{- end }}
</div>
</div>
{{else}} {{/* if not profileMode */}}