Skip to content

Commit

Permalink
display newsletter signup at bottom of related posts if enabled and f…
Browse files Browse the repository at this point in the history
…ooter is fixed
  • Loading branch information
asboyer committed Jun 18, 2024
1 parent eecf66d commit 93e0f96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _includes/related_posts.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
<a class="text-pink-700 underline font-semibold hover:text-pink-800" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
{% if site.newsletter.enabled and site.footer_fixed %}
<p class="mb-2" style="margin-top: 1.5rem !important">Subscribe to be notified of future articles:</p>
{% include scripts/newsletter.liquid left=true %}
{% endif %}

0 comments on commit 93e0f96

Please sign in to comment.