-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathblog.html
24 lines (20 loc) · 807 Bytes
/
blog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Posts
layout: default
tab: posts
description: Collection of all blog posts from CS Resources
blogdir: true
---
{% assign posts = site.posts | where: "lang", page.lang %}
<h1>Latest Blog Posts: </h1>
<ul class="presentation-list list-unstyled no-bullets">
{% for post in site.posts %}
<li class="presentation">
<span class="date">{{ post.date | date: "%Y-%m-%d" }}</span>
<a href="{% if post.external %}{{ post.blog_link }}{% else %}{{ post.url }}{% endif %}" target="_blank">{{ post.title }} {% if post.external %}⇖ {% endif %}</a>
{% if post.external %}<small>{{ post.blog }}</small>{% endif %}
</li>
{% endfor %}
</ul>
<br/>
<p>You can also subscribe via your favorite <a href="{{ site.url }}/atom.xml" target="_blank">RSS Reader</a> to my feed!</p>