- {% include searchbox.html %}
+ {% if page.tab != "newsletter" %}
+ {% include searchbox.html %}
+ {% endif %}
{{ content}}
diff --git a/_sass/main.scss b/_sass/main.scss
index ac72353..b533a25 100644
--- a/_sass/main.scss
+++ b/_sass/main.scss
@@ -444,6 +444,26 @@ body {
}
}
+.newsletter-form {
+ width: 60%;
+ margin: auto;
+ padding-top: 5vh;
+ padding-bottom: 5vh;
+
+ input {
+ font-size: 1.2em;
+ width: 70%;
+ border-radius: 5px;
+ }
+
+ button {
+ font-size: 1.2em;
+ font-weight: bold;
+ background-color: var(--menu-main-color);
+ border-radius: 5px;
+ }
+}
+
// Experimental printing support
@media print {
.menu, .footer, .color-mode-toggle, .sharebuttons, .printbutton, .related_posts, #commento, .search-box {
diff --git a/org/newsletter.org b/org/newsletter.org
new file mode 100644
index 0000000..7061c46
--- /dev/null
+++ b/org/newsletter.org
@@ -0,0 +1,24 @@
+#+OPTIONS: toc:nil num:nil
+#+STARTUP: showall indent
+#+STARTUP: hidestars
+#+BEGIN_EXPORT html
+---
+layout: default
+tab: newsletter
+title: Newsletter
+---
+#+END_EXPORT
+
+* Subscribe to newsletter
+
+Enjoy my blog? Bad at checking in regurarly? Want email updates? Then you should subscribe to my newsletter :) It's sent automatically every Saturday when there is new content.
+
+#+BEGIN_EXPORT html
+
+
+#+END_EXPORT