mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-27 15:35:52 -05:00
0989c28a0e
In Site config homeInfoParams: AlignSocialIconsTo: "center" # or left or right
14 lines
425 B
HTML
14 lines
425 B
HTML
{{- with site.Params.homeInfoParams }}
|
|
<article class="first-entry home-info">
|
|
<header class="entry-header">
|
|
<h1>{{ .Title | markdownify }}</h1>
|
|
</header>
|
|
<div class="entry-content">
|
|
{{ .Content | markdownify }}
|
|
</div>
|
|
<footer class="entry-footer">
|
|
{{ partial "social_icons.html" (dict "align" site.Params.homeInfoParams.AlignSocialIconsTo) }}
|
|
</footer>
|
|
</article>
|
|
{{- end -}}
|