Relocate news section

This commit is contained in:
Justin Ethier 2018-06-14 13:01:23 -04:00
parent 7747cbe6fd
commit ec7a378648
2 changed files with 8 additions and 20 deletions

View file

@ -63,23 +63,15 @@
<!-- MAIN CONTENT --> <!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer"> <div id="main_content_wrap" class="outer">
<section id="main_content" class="inner"> <section id="main_content" class="inner">
<div id="recent-news" style="
{% if page.title == "Cyclone Scheme" %} {% else %} display: none; {% endif %}
position: absolute;
left: 690px;
width: 350px;
font-size: smaller;
">
<h2>Recent News</h2>
{% for post in site.posts limit:3 %}
<h4>
<a href="/cyclone/{{ post.url }}">{{ post.title }}</a>
</h4>
<span class="date-labels">{{post.date | date: "%b %d %Y" }}</span>
{{ post.excerpt }}
{% endfor %}
</div>
{{ content }} {{ content }}
<h2>Recent News</h2>
{% for post in site.posts limit:3 %}
<h4>
<a href="/cyclone/{{ post.url }}">{{ post.title }}</a>
</h4>
<span class="date-labels">{{post.date | date: "%b %d %Y" }}</span>
{{ post.excerpt }}
{% endfor %}
</section> </section>
</div> </div>

View file

@ -437,10 +437,6 @@ Small Device Styles
font-size:14px; font-size:14px;
} }
#recent-news {
display: none;
}
#downloads { #downloads {
display: none; display: none;
} }