Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Adding the news link where news is compiled.
  • Loading branch information
Animesh Trivedi committed Mar 23, 2017
1 parent b0478de commit 9dc1dcf5273e9c968b309d07caa3886c0d425dba
Showing 1 changed file with 22 additions and 0 deletions.
@@ -0,0 +1,22 @@
---
layout: default
title: "News"
description: "showtags"
tags: [] #list of tags that you want to show in description of blog
---

<ul class="news list-unstyled">
{% for post in site.categories.news %}
{% if post.shortnews %}
<li class="shortnews">
<span class="date">{{ post.date | date: "%B %-d, %Y" }}</span>
{{ post.content }}
</li>
{% else %}
<li class="bloglink">
<span class="date">{{ post.date | date: "%B %-d, %Y" }}</span>
<a href="{{ post.url }}">&raquo; {{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>

0 comments on commit 9dc1dcf

Please sign in to comment.