added hero page
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{{ if .Site.Params.hero.enable | default true }}
|
||||
<section id="hero" class="py-5">
|
||||
<div class="container px-xs-3 px-sm-5 px-md-5 px-lg-5">
|
||||
<div id="primary-font">
|
||||
<span class="subtitle">
|
||||
{{ .Site.Params.hero.intro }}
|
||||
</span>
|
||||
<h2>
|
||||
{{ .Site.Params.hero.title }}
|
||||
</h2>
|
||||
<h3>
|
||||
{{ .Site.Params.hero.subtitle }}
|
||||
</h3>
|
||||
<p class="hero-content">
|
||||
{{ .Site.Params.hero.content | markdownify }}
|
||||
</p>
|
||||
{{ if .Site.Params.hero.button.enable }}
|
||||
<a href="{{ .Site.Params.hero.button.url }}" class="btn">
|
||||
{{ .Site.Params.hero.button.name }}
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-bottom-svg d-md-block d-lg-block d-none">
|
||||
<img src="https://portio-hugo.staticmania.com/images/hero/figure-svg.svg" alt="">
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user