Skip to content

Commit

Permalink
Agregar botón donar al hero section
Browse files Browse the repository at this point in the history
  • Loading branch information
edalorzo authored Mar 4, 2024
1 parent a4f3a70 commit 2a10db6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _includes/section-hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ <h1 class="hero__title">{{ site.data.settings.hero.hero_title }}</h1>
{{ if site.data.settings.hero.hero_description }}
<p class="hero__description">{{ site.data.settings.hero.hero_description }}</p>
{{ end }}
{% if site.data.settings.donate.enabled == true %}
<p><a href="{% if site.data.settings.donate.button_link %}{{ site.data.settings.donate.button_link }}{% else %}#{% endif %}" class="button cta-button">{{ site.data.settings.donate.button_text }}</a></p>
{% endif %}
</div>
</div>
</div>
</div>
</section>
<!-- end hero -->
{% endif %}
{% endif %}

0 comments on commit 2a10db6

Please sign in to comment.