-
Notifications
You must be signed in to change notification settings - Fork 558
/
index.html
57 lines (54 loc) · 2.15 KB
/
index.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
47
48
49
50
51
52
53
54
55
56
57
---
layout: blog
title: Blog
change_frequency: weekly
priority: 0.7
---
<div class="row">
<div class="col-sm-8 blog-list">
<h1 class="blogHeader">
Blog
<span class="rss">
<img src="{{ site.baseurl }}/static/img/subscribe.png"><a href="{{ site.baseurl }}{{ site.rss_path }}">RSS Feed</a>
</span>
</h1>
<ul class="posts">
{% for post in site.posts %}
<li>
<header>
<div class="adorner" blogTime="{{ post.date | date_to_rfc822 }}"></div>
<h2 class="title">
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</h2>
<div class="details">
<span class="date">{{ post.date | date_to_string }}</span>
- by
<span class="author">
{% if post.author.url %}
<a href="{{ post.author.url }}">{{ post.author.name }}</a>
{% else %}
{{ post.author.name }}
{% endif %}
</span>
<a class="comment" href="{{ site.baseurl }}{{ post.url }}#disqus_thread"></a>
</div>
</header>
<section class="post-excerpt">
<p>{{ post.excerpt }}</p>
<div><a href="{{ site.baseurl }}{{ post.url }}">More...</a></div>
</section>
</li>
{% endfor %}
</ul>
<!-- <a target="_blank" href="http://feed1.w3.org/check.cgi?url={{ site.baseurl }}{{ site.rss_path }}"><img src="{{ site.baseurl }}/static/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a> -->
</div>
</div>
<script>
window.onload = function(){
setTimeout(function(){
var lastPostTime = new Date("{{ site.posts[0].date | date_to_rfc822 }}").getTime();
setCookie("visitTime", lastPostTime, 365);
}, 2000);
};
</script>
{% include comment_count.html %}