From de5aedf485bc783bdcbf697125f01b2022550c2a Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Thu, 8 Feb 2024 06:35:21 -0600 Subject: [PATCH] include a convertkit tag for thing-a-month --- templates/convertkit-thing-a-month.html | 9 +++++++++ templates/micro.html | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 templates/convertkit-thing-a-month.html diff --git a/templates/convertkit-thing-a-month.html b/templates/convertkit-thing-a-month.html new file mode 100644 index 0000000..7ab7df9 --- /dev/null +++ b/templates/convertkit-thing-a-month.html @@ -0,0 +1,9 @@ +
+

+ If you'd like, I can keep you updated about thing-a-month. Stick your email in the box! +

+
+ + +
+
diff --git a/templates/micro.html b/templates/micro.html index dd9abb8..6240f4b 100644 --- a/templates/micro.html +++ b/templates/micro.html @@ -22,4 +22,9 @@

{{ page.title | markdown(inline=true) | safe }}

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