Skip to content

Commit

Permalink
Make feed/subscribe even more prominent
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Nov 5, 2024
1 parent fcbe9dc commit 44ab349
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions site/_includes/components/item.njk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,27 @@
{%- set DATE_FORMAT = 'MMMM d, yyyy' %}
{%- set TIME_FORMAT = 'HH:mm' %}
<footer class='post-meta'>
<div class='post-meta-section'>
<div class='section-label'>Subscribe:</div>
<div class='section-content'>
<p>
Like what you just read? Add the <a href="/feed.xml">feed</a> to your
feed reader!
</p>
<form
action="https://buttondown.com/api/emails/embed-subscribe/sympolymathesy"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.com/sympolymathesy', 'popupwindow')"
class="embeddable-buttondown-form post-subscribe"
>
<label for="bd-email" class="post-subscribe__label">Or subscribe via email:</label>
<input type="email" name="email" id="bd-email" class="post-subscribe__input" />
<button type="submit" class="post-subscribe__submit">Subscribe</button>
</form>
</div>
</div>

<div class='post-meta-section'>
<div class='section-label'>About:</div>
<div class='section-content'>
Expand All @@ -62,26 +83,6 @@
</div>
</div>

<div class='post-meta-section'>
<div class='section-label'>Subscribe:</div>
<div class='section-content'>
<p>
Add the <a href="/feed.xml">feed</a> to your feed reader.
</p>
<form
action="https://buttondown.com/api/emails/embed-subscribe/sympolymathesy"
method="post"
target="popupwindow"
onsubmit="window.open('https://buttondown.com/sympolymathesy', 'popupwindow')"
class="embeddable-buttondown-form post-subscribe"
>
<label for="bd-email" class="post-subscribe__label">Subscribe via email:</label>
<input type="email" name="email" id="bd-email" class="post-subscribe__input" />
<button type="submit" class="post-subscribe__submit">Subscribe</button>
</form>
</div>
</div>

{% if thanks is defined %}
<div class='post-meta-section'>
<div class='section-label'>Thanks:</div>
Expand Down

0 comments on commit 44ab349

Please sign in to comment.