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