Transactional pages
This commit is contained in:
11
layouts/partials/components/contact.html
Normal file
11
layouts/partials/components/contact.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<h4 id="contact-us">Contact Us</h4>
|
||||
<p>
|
||||
Need any help? Send us a note.
|
||||
</p>
|
||||
<pre class="">
|
||||
<a href="mailto:abner@handmadecities.com">abner@handmadecities.com</a>
|
||||
Handmade Cities LLC
|
||||
1037 NE 65TH ST #110
|
||||
Seattle, WA 98115</pre>
|
||||
</div>
|
||||
24
layouts/transactional/single.html
Normal file
24
layouts/transactional/single.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{{ define "main" }}
|
||||
<section class="mb-8">
|
||||
<div class="container flex flex-col items-center">
|
||||
<div class="mb-6 text-center">
|
||||
<h1>{{ .Params.Title }}</h1>
|
||||
{{ with .Params.Subtitle }}
|
||||
<h4>{{ . }}</h4>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ if .Params.main_image }}
|
||||
<div>
|
||||
{{ partial "image" (dict "Src" .Params.main_image "Context" .Page "Alt" .Title "Class" "") }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
{{ partial "components/contact.html" . }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user