Define contact information in params, add to footer of the page (#166)

contact icons in footer, opt-in via parameter
This commit is contained in:
Daniel Holbach 2023-12-23 19:08:45 +01:00 committed by GitHub
parent 4f5883c14d
commit f1d65eeccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 44 additions and 2 deletions

View file

@ -51,5 +51,13 @@ title = "Jane Doe - Nutrition Coach & Chef Consultant"
# The sections of the home page alternate styling. Mark invert as true to swap the styling of the sections
invertSectionColors = false
[params.footer]
# Show contact icons for email/phone (if specified) in the footer of the page
showContactIcons = false
[params.meta]
keywords = "some, keywords, for, seo, you, know, google, duckduckgo, and, such"
[params.contact]
email = "mail@janedoe.com"
phone = "+49 1111 555555"

View file

@ -4,8 +4,8 @@ weight: 4
header_menu: true
---
{{<icon class="fa fa-envelope">}}&nbsp;[mail@janedoe.com](mailto:your-email@your-domain.com)
{{<icon class="fa fa-envelope">}}&nbsp;[{{<email>}}](mailto:{{<email>}})
{{<icon class="fa fa-phone">}}&nbsp;[+49 1111 555555](tel:+491111555555)
{{<icon class="fa fa-phone">}}&nbsp;[{{<phone>}}](tel:{{<phone>}})
Let us get in touch!