mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 21:02:23 +00:00
Move site specific layouts and JS to the site folders
This commit is contained in:
23
layouts/page/membership.html
Normal file
23
layouts/page/membership.html
Normal file
@@ -0,0 +1,23 @@
|
||||
{{ define "content" }}
|
||||
{{ .Content }}
|
||||
|
||||
<div class="columns pricing-tiers is-centered is-multiline">
|
||||
{{- with $.Site.Data.memberships.membership_levels }}
|
||||
{{ range . -}}
|
||||
<div class="column is-one-quarter">
|
||||
<div class="box is-large hover-items">
|
||||
<h3 class="is-size-4 has-text-weight-bold">{{ .name }}</h3>
|
||||
<div class="is-size-1 has-text-weight-bold pricing-price">£{{ .price }}</div>
|
||||
<div class="_is-block mt-1 is-size-7 has-text-weight-normal">{{ default "per month" .period }}</div>
|
||||
<div class="content mt-5 pricing-description is-size-6">
|
||||
<p>{{ .description }}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<a href="{{ .link }}" class="button is-primary is-medium is-fullwidth has-box-shadow ">{{ default "Join Today" .button }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user