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:
commit
f365027fc8
17
source/_templates/subscribe.html
Normal file
17
source/_templates/subscribe.html
Normal 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&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>
|
|
@ -166,6 +166,7 @@ html_theme_options = {
|
|||
html_sidebars = {
|
||||
'**': [
|
||||
'about.html',
|
||||
'subscribe.html',
|
||||
'searchbox.html',
|
||||
'navigation.html',
|
||||
'srclinks.html',
|
||||
|
|
Loading…
Reference in a new issue