summaryrefslogtreecommitdiff
path: root/layouts/_default/index.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-25 17:17:24 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-25 17:17:24 +0530
commit201d269a1fd3283f806b3b44fdb98035f08063ec (patch)
treefa0e5ba36048ba2dbbeed148d4f3a9f089d7c16c /layouts/_default/index.html
parente35915a561183850b258afed559fae50f9535a1e (diff)
indexProfile : partial
Diffstat (limited to 'layouts/_default/index.html')
-rw-r--r--layouts/_default/index.html16
1 files changed, 1 insertions, 15 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 7376ab1..453bf4e 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -1,21 +1,7 @@
{{ define "main" }}
{{ if .Site.Params.profileMode }}
-<div class="profile">
- <div class="profile_inner">
- {{if .Site.Params.profileMode.imageUrl}}
- <div>
- <img src="{{ .Site.Params.profileMode.imageUrl}}" alt="{{ .Site.Params.profileMode.imageTitle}}" />
- </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>
+{{- partial "indexProfile.html" . }}
{{else}} {{/* if not profileMode */}}
{{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }}