squirrel/layouts/partials/contact.html

23 lines
685 B
HTML
Raw Permalink Normal View History

{{- $contact := .contact }}
{{- $content := .content }}
2022-06-27 14:09:44 +00:00
{{- $id := "contact"}}
{{if $contact.id}}
{{- $id = $contact.id}}
2022-06-27 14:09:44 +00:00
{{else if .id}}
{{- $id = .id }}
2022-06-27 14:09:44 +00:00
{{end}}
<div id="{{ $id }}" class="section section-highlight">
2021-02-25 21:23:58 +00:00
<div class="section-content contact">
<div class="contact-text">
<h1>{{ $contact.title }}</h1>
{{ if $contact.subtitle }}
<h3>{{ $contact.subtitle }}</h3>
{{ end }}
<p>{{ $content }}</p>
2021-02-25 21:23:58 +00:00
</div>
<div class="contact-button-container">
<a class="contact-button" href="{{ $contact.button.url }}">{{ $contact.button.text }}</a>
</div>
</div>
</div>