news.html 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. title: News
  3. sidebar: home_sidebar
  4. keywords: news, blog, updates, release notes, announcements
  5. permalink: news.html
  6. toc: false
  7. folder: news
  8. ---
  9. <div class="home">
  10. <div class="post-list">
  11. {% for post in site.posts limit:10 %}
  12. <h2><a class="post-link" href="{{ post.url | remove: "/" }}">{{ post.title }}</a></h2>
  13. <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }} /
  14. {% for tag in post.tags %}
  15. <a href="{{ "tag_" | append: tag | append: ".html"}}">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
  16. {% endfor %}</span>
  17. <p>{% if page.summary %} {{ page.summary | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ post.content | truncatewords: 50 | strip_html }} {% endif %}</p>
  18. {% endfor %}
  19. <p><a href="feed.xml" class="btn btn-primary navbar-btn cursorNorm" role="button">RSS Subscribe{{tag}}</a></p>
  20. <hr />
  21. <p>See more posts from the <a href="news_archive.html">News Archive</a>. </p>
  22. </div>
  23. </div>