hugo-PaperMod/layouts/partials/home_info.html
Aditya Telange 575cc0ca8c
Use site function instead of .Site or $.Site
- The site function provides global access to the same data as the .Site page method.
- Current context (`.`) is never considered.
2022-03-27 18:44:06 +05:30

14 lines
403 B
HTML

{{- with site.Params.homeInfoParams }}
<article class="first-entry home-info">
<header class="entry-header">
<h1>{{ .Title | markdownify }}</h1>
</header>
<section class="entry-content">
<p>{{ .Content | markdownify }}</p>
</section>
<footer class="entry-footer">
{{ partial "social_icons.html" site.Params.socialIcons }}
</footer>
</article>
{{- end -}}