mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-23 09:29:47 +01:00
8356e48e47
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...
10 lines
276 B
HTML
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}} |