-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
88 lines (81 loc) · 2.83 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
layout: default
has_full_title: true
---
<div class="home" id="home">
<ul class="posts noList">
{% for post in site.posts offset:0 limit:1 %}
<li>
{% include post-excerpt.html post=post strict_loading=true %}
</li>
{% endfor %}
</ul>
<div class="archive_list">
<h2>Recent Blog Articles</h2>
<div class="container">
{% for post in site.posts offset:1 limit:5 %}
<div class="item">
<a class="related-link" href="{{ site.baseurl }}{{ post.url }}">
{{ post.title | xml_smart_escape }}
</a>
<div class="related-meta">
<div class="tags">
{% assign had_first_tag = false %}
{% for tag in post.tags %}
{% unless had_first_tag %}{% assign had_first_tag = true %}{% else %} | {% endunless -%}
<a href="{{ tag | downcase | uri_escape | prepend: '/blog/tag/' | prepend: site.baseurl }}" class="tag">{{ tag }}</a>
{% endfor %}
</div>
<time>{{ post.date | date_to_long_string }}</time>
</div>
<div class="clearfix"></div>
</div>
{% endfor %}
<div class="clearfix"></div>
<div>
<a href="{{ '/blog/' | absolute_url }}" class="button__outline">See full archive</a>
</div>
</div>
</div>
<div class="archive_list">
<h2>Recent Wiki Articles</h2>
{% assign all_wiki = site.wiki | rss_filter_and_sort: 5 -%}
<div class="container">
{% for post in all_wiki %}
<div class="item">
<a class="related-link" href="{{ site.baseurl }}{{ post.url }}">
{{ post.title | xml_smart_escape }}
</a>
<div class="related-meta">
<time>{{ post.date | date_to_long_string }}</time>
</div>
<div class="clearfix"></div>
</div>
{% endfor %}
<div class="clearfix"></div>
<div>
<a href="{{ '/wiki/' | absolute_url }}" class="button__outline">See full archive</a>
</div>
</div>
</div>
<div class="archive_list last">
<h2>Recent Shared Links</h2>
{% assign all_links = site.links | reverse -%}
<div class="container">
{% for post in all_links offset:0 limit:3 %}
<div class="item">
<a class="related-link" href="{{ post.link }}" target="_blank">{{ post.title | xml_smart_escape }}</a>
{% if post.author %} by {% if post.author_link %}<a href="{{ post.author_link }}" target="_blank">{{ post.author }}</a>{% else %}{{ post.author }}{% endif %}{% endif %}
<div class="related-meta">
<time>{{ post.date | date_to_long_string }}</time>
</div>
<div class="clearfix"></div>
</div>
{% endfor %}
<div class="clearfix"></div>
<div>
<a href="{{ '/links/' | absolute_url }}" class="button__outline">See full archive</a>
</div>
</div>
</div>
</div>