From 0befbd5592c8f80c9ce11c540e15382b07a2d914 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Wed, 21 Oct 2026 19:20:54 +0000 Subject: [PATCH] Remove mailing list subscription form PHP is dead to me --- _includes/mail-form.html | 42 ------------------- _includes/subscribe.html | 6 +++ _layouts/post.html | 2 +- ...ng-mailing-list-jekyll-blog-using-sendy.md | 11 ++++- blog/index.html | 2 +- css/main.css | 19 ++------- css/main_dark.css | 6 --- 7 files changed, 22 insertions(+), 66 deletions(-) delete mode 100644 _includes/mail-form.html create mode 100644 _includes/subscribe.html diff --git a/_includes/mail-form.html b/_includes/mail-form.html deleted file mode 100644 index 1e45501..0000000 --- a/_includes/mail-form.html +++ /dev/null @@ -1,42 +0,0 @@ -
- -
diff --git a/_includes/subscribe.html b/_includes/subscribe.html new file mode 100644 index 0000000..5268741 --- /dev/null +++ b/_includes/subscribe.html @@ -0,0 +1,6 @@ +
+ +
diff --git a/_layouts/post.html b/_layouts/post.html index 0b00f54..4371a3f 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -14,4 +14,4 @@ layout: default -{% include comments.html %} {% include mail-form.html %} +{% include comments.html %} {% include subscribe.html %} diff --git a/_posts/2017-08-30-making-mailing-list-jekyll-blog-using-sendy.md b/_posts/2017-08-30-making-mailing-list-jekyll-blog-using-sendy.md index 637f3b6..9d6813c 100644 --- a/_posts/2017-08-30-making-mailing-list-jekyll-blog-using-sendy.md +++ b/_posts/2017-08-30-making-mailing-list-jekyll-blog-using-sendy.md @@ -130,7 +130,7 @@ as of this post. Lastly, I needed to create a form on my website for readers to sign up for the mailing list. Sendy provides the HTML in the UI to create the form, which I [tweaked a -little](https://github.com/thallada/thallada.github.io/blob/master/_includes/mail-form.html) +little](https://github.com/thallada/thallada.github.io/blob/ddf687d/_includes/mail-form.html) and placed in a [Jekyll includes template partial](https://jekyllrb.com/docs/includes/) that I could include on both the post layout and the blog index template. I refuse to pollute the internet with @@ -148,6 +148,15 @@ new post yet. So, I think for now I will just manually create a new email campaign in Sendy (from an email template) that will have a link to the new post, and send that. +## Addendum 10/21/2026: + +I have shut down the mailing list and the Sendy server at list.hallada.net, so +the subscribe form mentioned above is no longer at the bottom of this article. +I have done this because I no longer trust PHP and I don't want to risk hosting +a gaping security hole just for a mailing list subscription that hardly no one +ever subscribed to anyways. If you would like to follow my future posts, please +subscribe to my [RSS feed](/feed.xml) instead. + --- [^1]: diff --git a/blog/index.html b/blog/index.html index e0fe2cf..a6604b1 100644 --- a/blog/index.html +++ b/blog/index.html @@ -42,4 +42,4 @@ title: Tyler Hallada - Blog -{% include mail-form.html %} +{% include subscribe.html %} diff --git a/css/main.css b/css/main.css index b3c14ca..62e2c52 100755 --- a/css/main.css +++ b/css/main.css @@ -419,27 +419,16 @@ a.rss img { /*****************************************************************************/ /* -/* Subscribe form +/* Subscribe /* /*****************************************************************************/ -.subscribe-form h3 { - margin-top: 10px; - margin-left: 10px; -} - -.subscribe-form input { +.subscribe { margin: 10px; } -.subscribe-form label { - margin-left: 10px; -} - -.subscribe-form span.form-rss { - display: block; - margin-top: 20px; - margin-left: 10px; +.subscribe h3 { + margin-top: 0; } /*****************************************************************************/ diff --git a/css/main_dark.css b/css/main_dark.css index f3283b0..458852c 100644 --- a/css/main_dark.css +++ b/css/main_dark.css @@ -64,14 +64,8 @@ a.no-decoration:hover { text-decoration: none; } -.subscribe-form input[type="submit"], .isso-postbox input[type="button"], .isso-postbox input[type="submit"] { color: black; filter: invert(90%); } - -.subscribe-form input[type="text"], -.subscribe-form input[type="email"] { - background-color: #222 !important; -}