-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (37 loc) · 1.09 KB
/
index.html
File metadata and controls
39 lines (37 loc) · 1.09 KB
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
---
layout: default
active_tab: "home"
post_limit: 5
---
<section>
<h1>Recent Articles</h1>
{% for post in site.posts limit:page.post_limit %}
<article class="snippet">
<header>
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<ul class="list-unstyled list-inline meta">
<li><time date="{{ post.date }}">{{ post.date | date: "%B %d, %Y" }}</time></li>
{% if post.tags %}
<li>Tagged: {{ post | tags }}</li>
{% endif %}
</ul>
</header>
{{ post.content | strip_html | truncatewords:100 }}
<a href="{{ post.url }}" class="more">more</a>
</article>
{% endfor %}
<footer>
{% if site.posts.size > page.post_limit %}
<a href="/articles">More posts</a>
{% endif %}
</footer>
</section>
<script type="text/javascript">
var disqus_shortname = 'rsontechnet';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>