Move site specific layouts and JS to the site folders

This commit is contained in:
2023-11-11 10:24:18 +00:00
parent b13744dfa6
commit 4120d940fb
11 changed files with 54 additions and 47 deletions

23
layouts/page/home.html Normal file
View 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 }}