mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-07 05:06:36 +02:00
Relocate news section
This commit is contained in:
parent
7747cbe6fd
commit
ec7a378648
2 changed files with 8 additions and 20 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -437,10 +437,6 @@ Small Device Styles
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#recent-news {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#downloads {
|
#downloads {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue