feat: Add contact partials
This commit is contained in:
parent
ea32c9cb09
commit
01aafb89a1
|
@ -0,0 +1,6 @@
|
|||
{{- with .Site.Data.contact.adresse -}}
|
||||
<p>
|
||||
{{ .rue }} <br>
|
||||
{{ .cp }}{{ " " }}{{ .ville }}
|
||||
</p>
|
||||
{{- end -}}
|
|
@ -0,0 +1,3 @@
|
|||
{{- with .Site.Data.contact.instagram -}}
|
||||
<a class="instagram" href="https://www.instagram.com/{{ . }}/">@{{ . }}</a>
|
||||
{{- end -}}
|
|
@ -0,0 +1,3 @@
|
|||
{{- with .Site.Data.contact.mail -}}
|
||||
<a class="mail" href="mailto:{{ .}}">{{ . }}</a>
|
||||
{{- end -}}
|
|
@ -0,0 +1,3 @@
|
|||
{{- with .Site.Data.contact.telephone -}}
|
||||
<a class="tel" href="tel:{{ . }}">{{ . }}</a>
|
||||
{{- end -}}
|
|
@ -0,0 +1 @@
|
|||
<p>© {{ .Site.Title }}{{ " - " }}{{- now.Format "2006" -}}</p>
|
|
@ -0,0 +1 @@
|
|||
{{ partial "contact/adresse" . }}
|
|
@ -0,0 +1 @@
|
|||
{{- partial "contact/instagram" . -}}
|
|
@ -0,0 +1 @@
|
|||
{{- partial "contact/mail" . -}}
|
|
@ -0,0 +1 @@
|
|||
{{- partial "contact/telephone" . -}}
|
Loading…
Reference in New Issue