hugo-PaperMod/layouts/partials/homeInfo.html
Aditya Telange dbaa709c97
homeInfo : add socialIcons at bottom
* can be disabled by not having Params.socialIcons as variable
* profileMode overrides homeInfo mode
2020-08-27 20:03:00 +05:30

15 lines
416 B
HTML

{{ with $.Site.Params.homeInfoParams }}
<article class="first-entry">
<header class="entry-header">
<h2>{{ .Title }}</h2>
</header>
<section class="entry-content">
<p>{{ .Content | plainify | htmlUnescape }}</p>
</section>
{{- with $.Site.Params.socialIcons }}
<div class="social-icons">
{{ partial "social-icons.html" . }}
</div>
{{- end }}
</article>
{{end}}