-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
38 lines (37 loc) · 1.21 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
permalink: /blog/
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>John Hadaway</title>
<link rel="stylesheet" href="{{site.baseurl}}/assets/style/main.css">
</head>
<body>
<nav id="fixed-nav">
<a href="{{site.baseurl}}/">[about]</a> 
<a href="{{site.baseurl}}/projects">[projects]</a> 
<a class="current" href="">[blog]</a></nav>
<div id="content-wrapper">
{% assign blog_posts = site.blog | reverse %}
<ul>
{% for post in blog_posts %}
{% if post.external-url %}
<li>
<b>[{{post.display-date}}]</b>
<a href="{{post.external-url}}" target="_blank">{{post.short-title}} {% if post.external %}↗︎{% endif %}</a>
</li>
{% else %}
<li>
<b>[{{post.display-date}}]</b>
<a href="{{post.url}}">{{post.short-title}}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</body>
</html>