mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 12:35:05 +02:00
Experimenting with a news widget
This commit is contained in:
parent
ddccce7633
commit
024149537a
1 changed files with 21 additions and 0 deletions
|
@ -63,6 +63,27 @@
|
||||||
<!-- 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="news" style="
|
||||||
|
float: left;
|
||||||
|
left: -350px;
|
||||||
|
width: 300px;
|
||||||
|
/* height: 50px; */
|
||||||
|
background: #999;
|
||||||
|
/* display: inline-block; */
|
||||||
|
/* vertical-align: top; */ /* here */
|
||||||
|
position: absolute;
|
||||||
|
padding-left: 25px;
|
||||||
|
padding-right: 25px;
|
||||||
|
">
|
||||||
|
{% for post in site.posts limit:3 %}
|
||||||
|
[{{ post.title }}](./{{ post.url }})
|
||||||
|
<br />
|
||||||
|
<span class="date-labels">{{post.date | date: "%b %d %Y" }}</span>
|
||||||
|
<br />
|
||||||
|
{{ post.excerpt }}
|
||||||
|
<br />
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue