Commit 2a2068e9 authored by Andrew Yoon's avatar Andrew Yoon

add follow info to article endings

parent 23c766ba
Pipeline #139750965 passed with stage
in 1 minute and 8 seconds
<div class="other-articles">
<p>
want more content? here are 3 randomly selected articles:
</p>
<ul id="other-articles">
</ul>
<p>
and a complete list is at <a href="/"> our home page</a>
</p>
<div class="article-postlude">
<p>
follow us to hear about new publications and events
</p>
{% include signup.html %}
<ul>
<li><a href="https://www.instagram.com/nothingtosaypress">instagram @nothingtosaypress</a></li>
<li><a href="https://www.facebook.com/nothingtosayorg">facebook @nothingtosayorg</a></li>
</ul>
<p>
want to read more? here are 3 randomly selected articles:
</p>
<ul id="other-articles">
</ul>
<p>
and a complete list is at <a href="/"> our home page</a>
</p>
</div>
<script>
function shuffleArray(array) {
......@@ -23,9 +34,9 @@
function provideOtherArticles() {
var allArticles = [
{% for p in site.posts %}
{% unless p.title == page.title %}
['{{ p.title }}', '{{ p.url | relative_url }}'],
{% endunless %}
{% unless p.title == page.title %}
['{{ p.title }}', '{{ p.url | relative_url }}'],
{% endunless %}
{% endfor %}
];
......
<!-- Mailing list signup form -->
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
</style>
<div id="mc_embed_signup">
<form action="//nothing-to-say.us16.list-manage.com/subscribe/post?u=2e899d8ea46ecf8bb761ae8e8&amp;id=e83c3af2d9" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label for="mce-EMAIL">join the mailing list </label>
<label for="mce-EMAIL">email address </label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear">
......@@ -15,8 +13,9 @@
<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-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_2e899d8ea46ecf8bb761ae8e8_e83c3af2d9" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
<div class="clear"><input type="submit" value="subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<!-- <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='BIRTHDAY';ftypes[3]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script> -->
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='BIRTHDAY';ftypes[3]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
......@@ -17,6 +17,6 @@ layout: default
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
{% include otherArticles.html %}
{% include articlePostlude.html %}
</article>
......@@ -18,5 +18,5 @@ layout: default
{{ content }}
</div>
{% include otherArticles.html %}
{% include articlePostlude.html %}
</article>
......@@ -222,7 +222,7 @@ body {
}
}
.other-articles {
.article-postlude {
padding-left: 10%;
border-top: 2px solid $grey-color-light;
margin-top: $spacing-unit * 2;
......
......@@ -13,27 +13,7 @@ permalink: /subscribe.html
time you want.
</p>
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<div id="mc_embed_signup">
<form action="//nothing-to-say.us16.list-manage.com/subscribe/post?u=2e899d8ea46ecf8bb761ae8e8&amp;id=e83c3af2d9" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label for="mce-EMAIL">email address </label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<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-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_2e899d8ea46ecf8bb761ae8e8_e83c3af2d9" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='BIRTHDAY';ftypes[3]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
{% include signup.html %}
<h1>social media</h1>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment