aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-07-15 00:04:07 +0200
committerAlex Legler <alex@a3li.li>2015-07-15 00:04:07 +0200
commit1abe3819d54e5d55742d20e59d3c4522198804ee (patch)
treeeba7bdc1b6299b7d6bc93b89119709407c85b465 /_includes/frontpage
parentRemember kids, it's Wine, not WINE (diff)
downloadwww-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/news18
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