Init Commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
+++
|
||||
title = "Footer"
|
||||
type = "footer"
|
||||
draft = false
|
||||
+++
|
||||
|
||||
|
||||
{{< contact-section
|
||||
sectionId="contacto"
|
||||
title="Contáctame"
|
||||
contact_form_name="Tu nombre"
|
||||
contact_form_email="Tu correo"
|
||||
contact_form_message="Tu mensaje"
|
||||
contact_button="Enviar mensaje"
|
||||
contact_phone_title="Mi teléfono"
|
||||
contact_phone_number="<a href='tel:+555666777'>555 666 777</a>"
|
||||
contact_email_title="Mi correo"
|
||||
contact_email_email="demo@demosite.com"
|
||||
contact_address_title="Mi ubicación"
|
||||
contact_address_address="🇩🇰 Denmark"
|
||||
form_action="https://formspree.io/f/mail@example.com"
|
||||
form_method="POST"
|
||||
>}}
|
||||
|
||||
{{< newsletter-section
|
||||
newsletter_title="Subscríbete"
|
||||
newsletter_placeholder="Tu correo"
|
||||
newsletter_button="Subscríbete"
|
||||
newsletter_success_message="Gracias por suscribirte!"
|
||||
newsletter_error_message="Algo ha fallado, por favor inténtalo de nuevo."
|
||||
newsletter_note="Respetamos tu privacidad."
|
||||
form_action="/"
|
||||
form_method="POST"
|
||||
>}}
|
||||
|
||||
|
||||
{{< text-section
|
||||
title="Contenido extra"
|
||||
centered="true"
|
||||
>}}
|
||||
|
||||
Puedes añadir contenido adicional después de los bloques de `section`.
|
||||
|
||||
Aquí puedes ser creativo, utilizar otros shortcodes, ... O dejarlo vacío.
|
||||
|
||||
Para añadir texto que quede bien en el pie, puedes utilizar el shortcode `text-section`.
|
||||
|
||||
{{< /text-section >}}
|
||||
@@ -0,0 +1,47 @@
|
||||
+++
|
||||
title = "Footer"
|
||||
type = "footer"
|
||||
draft = false
|
||||
+++
|
||||
|
||||
|
||||
{{< contact-section
|
||||
title="Reach out"
|
||||
contact_form_name="Your name"
|
||||
contact_form_email="Your e-mail"
|
||||
contact_form_message="Your text"
|
||||
contact_form_phone="Your phone"
|
||||
contact_button="Send message"
|
||||
contact_phone_title="My phone"
|
||||
contact_phone_number="<a href='tel:+555666777'>555 666 777</a>"
|
||||
contact_email_title="My mail"
|
||||
contact_email_email="<a href='mailto:demo@demosite.com'>demo@demosite.com</a>"
|
||||
contact_address_title="My location"
|
||||
contact_address_address="🇩🇰 Denmark"
|
||||
form_action="https://formspree.io/f/mail@example.com"
|
||||
form_method="POST"
|
||||
contact_form_rows="3"
|
||||
>}}
|
||||
|
||||
{{< newsletter-section
|
||||
newsletter_title="Stay updated"
|
||||
newsletter_placeholder="Enter your email"
|
||||
newsletter_button="Subscribe"
|
||||
newsletter_success_message="Thank you for subscribing!"
|
||||
newsletter_error_message="Something went wrong, please try again."
|
||||
newsletter_note="We respect your privacy and won't share your data."
|
||||
form_action="/"
|
||||
form_method="POST"
|
||||
>}}
|
||||
|
||||
|
||||
{{< text-section
|
||||
title="Extra footer content"
|
||||
centered="true"
|
||||
>}}
|
||||
Additional content added after the `section` blocks.
|
||||
|
||||
Here you could freestyle, add other shortcodes, ... Or just let the content empty, and rely on the shortcode sections alone.
|
||||
|
||||
To make the text nicely wrapped in the footer, the shortcode `text-section` is used.
|
||||
{{< /text-section >}}
|
||||
Reference in New Issue
Block a user