1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Merge pull request #138 from nix-dot-dev/subscribe

Allow readers to subscribe to email notifications for new content.
This commit is contained in:
Domen Kožar 2021-04-30 17:48:00 +02:00 committed by GitHub
commit f365027fc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<style type="text/css">
#mce-EMAIL { float: left; width: 55%; padding: 0.25em; }
#mc-embedded-subscribe { float: right; width: 40%; padding: 0.25em; }
#mc-embedded-subscribe-form { overflow: auto; margin-bottom: 20px; }
</style>
<h3>Email notifications</h3>
<form action="https://cachix.us1.list-manage.com/subscribe/post?u=16430f4cf6653e9f26595c40a&amp;id=f726238699"
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<p>Subscribe if you'd like to recieve an occasional email for new tutorials, no spam.</p>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Email" required>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</form>

View file

@ -166,6 +166,7 @@ html_theme_options = {
html_sidebars = { html_sidebars = {
'**': [ '**': [
'about.html', 'about.html',
'subscribe.html',
'searchbox.html', 'searchbox.html',
'navigation.html', 'navigation.html',
'srclinks.html', 'srclinks.html',