mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-04 08:15:16 +01: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 -}}
|