mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 16:12:16 +00:00
Move site specific layouts and JS to the site folders
This commit is contained in:
23
layouts/page/home.html
Normal file
23
layouts/page/home.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{ define "hero-content" }}
|
||||
<h1 class="title is-1 has-text-white">{{ .Title }}</h1>
|
||||
<p class="subtitle has-text-white">{{ .Params.subtitle }}</p>
|
||||
|
||||
<div class="columns _is-desktop">
|
||||
<div class="column is-mobile is-multiline is-fullwidth-touch">
|
||||
<a class="button is-primary is-medium is-fullwidth has-box-shadow" href="{{ ref . "about" }}">Learn more</a>
|
||||
</div>
|
||||
<div class="column is-mobile is-multiline is-fullwidth-touch">
|
||||
<a class="button is-primary is-medium is-fullwidth has-box-shadow is-inverted _is-outlined"
|
||||
href="{{ ref . "membership" }}">Become a member</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "cta" }}
|
||||
{{ partial "design/bigcta.html" . }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user