Skip to content

Commit 9f7e0ba

Browse files
committed
Added signup form for newsletter to the menu.
1 parent 5e1d869 commit 9f7e0ba

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __pycache__/
99
.Python
1010
env/
1111
bin/
12+
*.orig
1213
build/
1314
develop-eggs/
1415
dist/

docs/_themes/quantifiedcode/footer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
</p>
1818
</div>
1919

20+
<!--End mc_embed_signup-->
2021
{% trans %}<a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}
2122
</footer>

docs/_themes/quantifiedcode/layout.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
{% include "searchbox.html" %}
8989
</div>
9090

91+
9192
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
9293
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
9394
{% if toctree %}
@@ -98,6 +99,21 @@
9899
{% endif %}
99100
</div>
100101
&nbsp;
102+
103+
<!-- Begin MailChimp Signup Form -->
104+
105+
<div id="mc_embed_signup" style="padding:12px">
106+
<form action="//quantifiedcode.us8.list-manage.com/subscribe/post?u=effb5c0618b377e47329ca7ba&amp;id=0eb810e227" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
107+
<div id="mc_embed_signup_scroll">
108+
<label for="mce-EMAIL" style="color:#000;">Wanna learn more about Python code quality? Sign up for our newsletter!</label>
109+
<input style="width:100%" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
110+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
111+
<div style="position: absolute; left: -5000px;"><input type="text" name="b_effb5c0618b377e47329ca7ba_0eb810e227" tabindex="-1" value=""></div>
112+
<div class="clear"><input style="width:100%" type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
113+
</div>
114+
</form>
115+
</div>
116+
101117
</nav>
102118

103119
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy