feat: add email list.

This commit is contained in:
Nuno Sempere 2022-10-31 18:18:27 +00:00
parent be641c2e40
commit 35eda0ff53
2 changed files with 34 additions and 1 deletions

View File

@ -76,7 +76,7 @@ fn blagh_body {
# Direct links to feeds are disabled because they are not very useful, add clutter and might waste pagerank. # Direct links to feeds are disabled because they are not very useful, add clutter and might waste pagerank.
# An user can add this on their own using handlers_body_head anyway. # An user can add this on their own using handlers_body_head anyway.
echo '<p><a href="index.rss">RSS Feed</a>, <a href="../sitemap">all content</a></p>' echo '<p><a href="index.rss">RSS Feed</a>, <a href="../.subscribe">subscribe per email</a>, <a href="../sitemap">all content</a></p>'
# |<a href="index.atom">Atom Feed</a></div>' # |<a href="index.atom">Atom Feed</a></div>'
# Markdown posts # Markdown posts

View File

@ -263,3 +263,36 @@ th {
display: none; display: none;
} }
} }
/* Newsletter stuff */
input.button {
background: #0055d4;
padding: 15px 30px;
border-radius: 3px;
border: 0;
cursor: pointer;
text-decoration: none;
color: #ffff;
display: inline-block;
min-width: 150px;
font-size: 20px;
text-align: center;
}
input[type="text"], input[type="email"], select {
padding: 10px 15px;
border: 1px solid #888;
border-radius: 3px;
width: 33%;
box-shadow: 2px 2px 0 #f3f3f3;
border: 1px solid #ddd;
font-size: 20px;
}
input:focus {
border-color: #0055d4;
}
input:focus::placeholder {
color: transparent;
}