hugo-PaperMod/layouts/partials/homeInfo.html
Aditya Telange 8356e48e47 Add option to use 1st entry as some Information
Currenty supports 2 vals Title and Content
Great for short intro for bloggers

can be enabled by using `Params.homeInfoParams`
    homeInfoParams:
      enabled: true
      Title: Hi there 👋
      Content: This is Content !! Can be Info, links, social-icons...
2020-07-23 16:24:44 +05:30

10 lines
276 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>
</article>
{{end}}