diff options
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 |