Skip to content

Commit

Permalink
added social buttons to the end of all blog pages without CTA
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Jan 30, 2025
1 parent 8db418d commit d304257
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _includes/cta-socials.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% comment %}TODO translate once used outside the blog{% endcomment %}

<section class="container pt-3 pb-4 pb-md-5">
<div class="card border-0 bg-gradient-primary">
<div class="card-body p-md-5 p-4 bg-size-cover" style="background-image: url(/images/layout/contact-bg.webp);">
<div class="py-md-5 py-4 text-center">
<h3 class="h4 fw-normal text-light opacity-75">Follow us for more news</h3>
<div class="pt-md-5 pt-4 pb-md-2">
{% include section-social-links.html %}
</div>
</div>
</div>
</div>
</section>
2 changes: 2 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ <h6>{{ site.data[page.lang].translation.share-post }}:</h6>
{% include cta-begin-journey.html %}
{% elsif page.cta == 'support' %}
{% include cta-support.html %}
{% else %}
{% include cta-socials.html %}
{% endif %}

0 comments on commit d304257

Please sign in to comment.