-
Notifications
You must be signed in to change notification settings - Fork 0
/
news.html
41 lines (38 loc) · 1.05 KB
/
news.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
layout: page
title: News and Information
permalink: /news/
---
<ul class="media-list news">
{% for post in site.posts %}
<li class="media">
{% if post.image %}
<div class="media-left">
<a href="{{ post.url | prepend: site.baseurl }}">
<img class="media-object img-thumbnail" src="{{site.baseurl}}/images/{{ post.image }}" alt="{{ post.title }}">
</a>
</div>
{% elsif post.remote_image %}
<div class="media-left">
<a href="{{ post.url | prepend: site.baseurl }}">
<img class="media-object img-thumbnail" src="{{ post.remote_image }}" alt="{{ post.title }}">
</a>
</div>
{% endif %}
<div class="media-body">
<h3 class="media-heading">
<a href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
<!-- <br> -->
<!-- <small>{{ post.date | date: "%b %-d, %Y" }}</small> -->
</h3>
{{ post.excerpt }}
</div>
</li>
{% endfor %}
</ul>
<hr>
<p>
<a class="btn btn-xs btn-danger pull-right" href="{{ "/feed.xml" | prepend: site.baseurl }}">subscribe via RSS <i class="fa fa-fw fa-rss"></i></a>
</p>