19 lines
620 B
HTML
19 lines
620 B
HTML
{{- $contact := .contact }} {{- $content := .content }} {{- $id := "contact"}}
|
|
{{if $contact.id}} {{- $id = $contact.id}} {{else if .id}} {{- $id = .id }}
|
|
{{end}}
|
|
<div id="{{ $id }}" class="section section-highlight">
|
|
<div class="section-content contact">
|
|
<div class="contact-text">
|
|
<h1>{{ $contact.title }}</h1>
|
|
{{ if $contact.subtitle }}
|
|
<h3>{{ $contact.subtitle }}</h3>
|
|
{{ end }}
|
|
<p>{{ $content }}</p>
|
|
</div>
|
|
<div class="contact-button-container">
|
|
{{ with $contact.button }}
|
|
{{ partial "components/button.html" . }}
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|