Update hero section links
This commit is contained in:
parent
ade213e11a
commit
50d5a67f2c
|
|
@ -3,7 +3,24 @@
|
|||
<h1 class="hero-title">{% if section.data.displayedTitle %}{{ section.data.displayedTitle }}{% else %}{{ section.data.title }}{% endif %}</h1>
|
||||
<p>{{section.data.description}}</p>
|
||||
{{ section.templateContent }}
|
||||
{% render 'partials/components/socials', socials: author.socials, mail: author.mail, showLabel: true %}
|
||||
<ul class="list-inline socials-list socials-list--label">
|
||||
{% if author.socials %}
|
||||
{% for social in author.socials %}
|
||||
<li>
|
||||
{% link social.link, "_blank", "data-ghost-button" %}{% icon social.icon %} {{ social.title }}{% endlink %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if author.mail %}
|
||||
<li>
|
||||
{% capture href %}mailto:{{ author.mail }}{% endcapture %}
|
||||
{% link href, "_blank", "data-ghost-button" %}{% icon "mail" %} Me contacter{% endlink %}
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
{% link "#", "_blank", "data-ghost-button" %}{% icon "download" %} Télécharger en PDF{% endlink %}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue