Skip to content

Commit

Permalink
include a convertkit tag for thing-a-month
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 8, 2024
1 parent 27890fe commit de5aedf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions templates/convertkit-thing-a-month.html
@@ -0,0 +1,9 @@
<section class="convertkit">
<p>
If you'd like, I can keep you updated about thing-a-month. Stick your email in the box!
</p>
<form action="https://app.convertkit.com/forms/2069198/subscriptions" method="post">
<input class="email" name="email_address" aria-label="Email Address" placeholder="Email Address" required="true" type="email" />
<button data-element="submit">Subscribe</button>
</form>
</section>
5 changes: 5 additions & 0 deletions templates/micro.html
Expand Up @@ -22,4 +22,9 @@ <h1>{{ page.title | markdown(inline=true) | safe }}</h1>

{{ page.content | safe }}
</article>

{% if "project" in page.extra and "thing-a-month" in page.extra["project"] -%}
{% include "convertkit-thing-a-month.html" %}
{%- endif %}

{% endblock %}

0 comments on commit de5aedf

Please sign in to comment.