diff options
author | Alex Legler <alex@a3li.li> | 2015-07-15 00:04:07 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-07-15 00:04:07 +0200 |
commit | 1abe3819d54e5d55742d20e59d3c4522198804ee (patch) | |
tree | eba7bdc1b6299b7d6bc93b89119709407c85b465 /_includes/frontpage | |
parent | Remember kids, it's Wine, not WINE (diff) | |
download | www-1abe3819d54e5d55742d20e59d3c4522198804ee.tar.gz www-1abe3819d54e5d55742d20e59d3c4522198804ee.tar.bz2 www-1abe3819d54e5d55742d20e59d3c4522198804ee.zip |
Clean up the frontpage news item rendering
Diffstat (limited to '_includes/frontpage')
-rw-r--r-- | _includes/frontpage/news | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/_includes/frontpage/news b/_includes/frontpage/news index 16e5f93..344c78e 100644 --- a/_includes/frontpage/news +++ b/_includes/frontpage/news @@ -1,6 +1,14 @@ {% for post in site.posts | limit: 3 %} -<article> - <h2><a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small></h2> - {{ post.excerpt }} -</article> -{% endfor %}
\ No newline at end of file +<section id="news"> + <article class="newsitem"> + <h2 class="stick-top"> + <span class="fa fa-fw fa-chevron-circle-right newsitem-bullet" title="News item"></span> + <a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small> + </h2> + <div class="newsitem-content"> + {{ post.excerpt }} + <!--<a href="{{ post.url }}" class="btn btn-default btn-sm">read more <span class="fa fa-fw fa-chevron-right"></span></a>--> + </div> + </article> + {% endfor %} +</section>
\ No newline at end of file |