-
Notifications
You must be signed in to change notification settings - Fork 585
/
Copy pathnews.html
46 lines (43 loc) · 1.23 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
42
43
44
45
46
---
layout: news
---
<!DOCTYPE html>
<html>
<head>
{% include head.html %}
</head>
<body>
<div class="container">
{% include header.html %}
<div>
<h3>WDC News</h3>
<ul class=posts >
{% for post in site.posts %}
<li><a href="#{{ post.id }}" >{{ post.title }}</a> <span style="font-size:80%;">({{ post.date | date_to_string }})</span></li>
{% endfor %}
</ul>
<hr/>
</div>
<ul class="blogul">
{% for post in site.posts %}
<div>
<h1 id="{{post.id}}">{{ post.title }} </a></h1>
<hr>
<p><span class="glyphicon glyphicon-time"></span> Posted on {{ post.date | date: "%-d %B %Y" }}</p>
<hr>
<p class="lead">
{{ post.abstract }}
</p>
{% if post.photoname %}
<img class="img-responsive" src="{{ site.baseurl }}/assets/{{ post.photoname}}" alt=""> {% endif %}
<hr>
<div class="blog-content">
{{ post.content }}
</div>
</div>
{% endfor %}
</ul>
{% include footer.html %}
</div>
</body>
</html>