Remove mailing list subscription form

PHP is dead to me
This commit is contained in:
thallada committed 2026-10-21 19:20:54 +00:00
1 parent ddf687df93
commit 0befbd5592
7 files changed
+22 -66

No files matched your search

-42
View File
@@ -1,42 +0,0 @@
<div class="card">
<div class="subscribe-form">
<div class="row clearfix">
<div class="column full">
<h3>Subscribe to my future posts</h3>
</div>
</div>
<form
action="https://list.hallada.net/subscribe"
method="POST"
accept-charset="utf-8"
>
<div class="row clearfix">
<div class="column half">
<label for="name">Name (optional)</label><br />
<input type="text" name="name" id="name" />
</div>
<div class="column half">
<label for="email">Email</label><br />
<input type="email" name="email" id="email" />
</div>
</div>
<div class="row clearfix">
<div style="display: none">
<label for="hp">HP</label><br />
<input type="text" name="hp" id="hp" />
</div>
<input type="hidden" name="list" value="aJAuaNkgCYdnWrea0qtjHA" />
<input type="hidden" name="subform" value="yes" />
<div class="column half">
<input type="submit" name="submit" id="submit" value="Submit" />
</div>
<div class="column half">
<span class="form-rss"
>Or subscribe to my <a href="/feed.xml">RSS feed</a></span
>
</div>
</div>
</form>
<div class="row clearfix"></div>
</div>
</div>
+6
View File
@@ -0,0 +1,6 @@
<div class="card">
<div class="subscribe">
<h3>Subscribe to my future posts</h3>
<p>Follow along with my <a href="/feed.xml">RSS feed</a>.</p>
</div>
</div>
+1 -1
View File
@@ -14,4 +14,4 @@ layout: default
</div> </div>
</div> </div>
{% include comments.html %} {% include mail-form.html %} {% include comments.html %} {% include subscribe.html %}
@@ -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 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 mailing list. Sendy provides the HTML in the UI to create the form, which I
[tweaked a [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 and placed in a [Jekyll includes template
partial](https://jekyllrb.com/docs/includes/) that I could include on both the 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 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 campaign in Sendy (from an email template) that will have a link to the new
post, and send that. 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]: [^1]:
+1 -1
View File
@@ -42,4 +42,4 @@ title: Tyler Hallada - Blog
</div> </div>
</div> </div>
{% include mail-form.html %} {% include subscribe.html %}
+4 -15
View File
@@ -419,27 +419,16 @@ a.rss img {
/*****************************************************************************/ /*****************************************************************************/
/* /*
/* Subscribe form /* Subscribe
/* /*
/*****************************************************************************/ /*****************************************************************************/
.subscribe-form h3 { .subscribe {
margin-top: 10px;
margin-left: 10px;
}
.subscribe-form input {
margin: 10px; margin: 10px;
} }
.subscribe-form label { .subscribe h3 {
margin-left: 10px; margin-top: 0;
}
.subscribe-form span.form-rss {
display: block;
margin-top: 20px;
margin-left: 10px;
} }
/*****************************************************************************/ /*****************************************************************************/
-6
View File
@@ -64,14 +64,8 @@ a.no-decoration:hover {
text-decoration: none; text-decoration: none;
} }
.subscribe-form input[type="submit"],
.isso-postbox input[type="button"], .isso-postbox input[type="button"],
.isso-postbox input[type="submit"] { .isso-postbox input[type="submit"] {
color: black; color: black;
filter: invert(90%); filter: invert(90%);
} }
.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
background-color: #222 !important;
}