hugo-theme-wondermod/layouts/partials/indexProfile.html
Aditya Telange faf0ebefa3
social-icons : set icons in Params.socialIcons
* so that it can be accessible to other modes

usage : in config
 params:
  socialIcons:
   - name: "<platform>"
     url: : "<link>"

ref : f852d06923
2020-08-27 20:00:01 +05:30

16 lines
573 B
HTML

<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.socialIcons }}
<div class="social-icons">
{{ partial "social-icons.html" . }}
</div>
{{- end }}
</div>
</div>