File tree Expand file tree Collapse file tree 5 files changed +56
-38
lines changed Expand file tree Collapse file tree 5 files changed +56
-38
lines changed Original file line number Diff line number Diff line change 1- < h4 > Recent Posts</ h4 >
2- < div >
3- {% for post in site.posts %}
4- {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
5- {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
6- {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
7- {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
1+ < div class ="bs-sidenav hidden-print ">
2+ < h4 > Recent Posts</ h4 >
3+ < div >
4+ {% for post in site.posts %}
5+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
6+ {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
7+ {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
8+ {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
89
9- {% if forloop.first %}
10- < h5 id ="{{ this_year }}-{{ this_month }}-ref "> {{ this_month }} {{this_year}}</ h5 >
11- < ul >
12- {% endif %}
10+ {% if forloop.first %}
11+ < h5 id ="{{ this_year }}-{{ this_month }}-ref "> {{ this_month }} {{this_year}}</ h5 >
12+ < ul >
13+ {% endif %}
1314
14- < li > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ li >
15+ < li > < a href ="{{ post.url }} "> {{ post.title }}</ a > </ li >
1516
16- {% if forloop.last %}
17- </ ul >
18- {% else %}
19- {% if this_year != next_year %}
17+ {% if forloop.last %}
2018 </ ul >
21- < h5 id ="{{ next_year }}-{{ next_month }}-ref "> {{ next_month }} {{next_year}}</ h5 >
22- < ul >
23- {% else %}
24- {% if this_month != next_month %}
19+ {% else %}
20+ {% if this_year != next_year %}
2521 </ ul >
26- < h5 id ="{{ this_year }}-{{ next_month }}-ref "> {{ next_month }} {{next_year}}</ h5 >
22+ < h5 id ="{{ next_year }}-{{ next_month }}-ref "> {{ next_month }} {{next_year}}</ h5 >
2723 < ul >
24+ {% else %}
25+ {% if this_month != next_month %}
26+ </ ul >
27+ < h5 id ="{{ this_year }}-{{ next_month }}-ref "> {{ next_month }} {{next_year}}</ h5 >
28+ < ul >
29+ {% endif %}
2830 {% endif %}
2931 {% endif %}
30- {% endif %}
31- {% endfor %}
32+ {% endfor %}
33+ </ div >
3234</ div >
Original file line number Diff line number Diff line change 11{% if site.related_posts.size > 0 %}
2- < h4 > Related Posts</ h4 >
3- < ul class ="related-posts ">
4- {% for post in site.related_posts limit:3 %}
5- < li >
6- < a href ="{{ post.url }} ">
7- {{ post.title }}
8- </ a >
9- </ li >
10- {% endfor %}
11- </ ul >
2+ < div class ="bs-sidenav hidden-print ">
3+ < h4 > Related Posts</ h4 >
4+ < ul class ="related-posts ">
5+ {% for post in site.related_posts limit:3 %}
6+ < li >
7+ < a href ="{{ post.url }} ">
8+ {{ post.title }}
9+ </ a >
10+ </ li >
11+ {% endfor %}
12+ </ ul >
13+ </ div >
1214{% endif %}
Original file line number Diff line number Diff line change 1- < div class ="bs-sidenav hidden-print ">
2- {% include blog/recent.html %}
3- {% include blog/related.html %}
4- </ div >
1+ {% include blog/related.html %}
2+ {% include blog/subscribe.html %}
3+ {% include blog/recent.html %}
Original file line number Diff line number Diff line change 1+ < div class ="bs-sidenav hidden-print ">
2+ <!-- Begin MailChimp Signup Form -->
3+ < h4 > Subscribe to newsletter</ h4 >
4+ < div >
5+ < form action ="//hangfire.us9.list-manage.com/subscribe/post?u=d2f4abd4cd4d3b1db1b06dc02&id=5a8dbbc33b " method ="post " id ="mc-embedded-subscribe-form " name ="mc-embedded-subscribe-form " class ="validate " target ="_blank " novalidate style ="padding:0; ">
6+ < label for ="mce-EMAIL "> Email Address</ label >
7+ < div class ="input-group ">
8+ < input type ="email " value ="" name ="EMAIL " class ="required email form-control " id ="mce-EMAIL ">
9+ < span class ="input-group-btn ">
10+ < input type ="submit " value ="Subscribe " name ="subscribe " id ="mc-embedded-subscribe " class ="btn btn-default ">
11+ </ span >
12+ </ div >
13+ </ form >
14+ </ div >
15+ </ div >
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ footer {
6565 margin-bottom : 20px ;
6666}
6767
68- .bs-sidenav div {
68+ .bs-sidenav > div {
6969 margin : 5px 20px 7px ;
7070 color : # 888 ;
7171}
You can’t perform that action at this time.
0 commit comments