aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-11-06 18:01:16 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-11-06 18:04:00 +0100
commitb92ec992607544e84edee282780b122bf0add366 (patch)
tree8fc8571972cddb45fce83577704bfd3d16b75d61
parentfdb2c589b1dd39feba38dcfba06eb4afa8c07d69 (diff)
add reservation.html partial templateHEADmaster
-rw-r--r--layouts/index.html1
-rw-r--r--layouts/pains/single.html1
-rw-r--r--layouts/partials/reservation.html3
3 files changed, 5 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 1b2cafb..d3d14b0 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -60,6 +60,7 @@
<div class="vertical-align">
<div class="fournil-banner">
{{ .Content }}
+ {{ partial "reservation.html" . }}
<h3>
<div id="fournil-holidays"></div>
</h3>
diff --git a/layouts/pains/single.html b/layouts/pains/single.html
index 1c9ffa0..8e0f0ea 100644
--- a/layouts/pains/single.html
+++ b/layouts/pains/single.html
@@ -2,6 +2,7 @@
{{ end }}
{{ define "main" }}
+{{ partial "reservation.html" . }}
{{ .Content }}
<div class="row">
{{ range .Site.Data.fournil.produits }}
diff --git a/layouts/partials/reservation.html b/layouts/partials/reservation.html
new file mode 100644
index 0000000..0430122
--- /dev/null
+++ b/layouts/partials/reservation.html
@@ -0,0 +1,3 @@
+<p>
+ N'hésitez pas à réserver vos commandes <a href="tel:{{ .Site.Params.Phone }}">par téléphone</a> ou <a href="mailto:{{ .Site.Params.Email }}">par email</a>.
+</p>