-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-small.html
65 lines (58 loc) · 2.18 KB
/
index-small.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
---
layout: default
---
<div id="filter_div" align="left">
Filter Keyword
<input type="text" id="input_filter">
<button type="button" onClick="filter_post('category', getElementById('input_filter').value.toLowerCase())">Category</button>
<button type="button" onClick="filter_post('title', getElementById('input_filter').value.toLowerCase())">Title</button>
<button type="button" onClick="filter_post('keyword', getElementById('input_filter').value.toLowerCase())">Keyword</button>
{% for my_page in site.pages %}
{% if my_page.title == "About" %}
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl | append: '#search_help' }}">Search Help</a>
{% endif %}
{% endfor %}
<br /><br />
</div>
<hr /><br />
<div class="home">
<h1 class="page-heading">Top Posts</h1>
<ul style="list-style-type: none;">
{% for post in site.posts %}
{% if post.ontop == true %}
<li data-category="{{ post.categories }}" data-title="{{ post.title }}" data-keyword="{{ post.paper_keyword }}">
<span>
[Top]
{% if post.layout == "paper-summary" %}
[Paper Review]
{% endif %}
</span>
<div style="display: inline">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
<hr />
<br />
<h1 class="page-heading">Posts</h1>
<ul style="list-style-type: none;">
{% for post in site.posts %}
{% if post.ontop != true %}
<li data-category="{{ post.categories }}" data-title="{{ post.title }}" data-keyword="{{ post.paper_keyword }}">
<span>
{% if post.layout == "paper-summary" %}
[Paper Review]
{% endif %}
</span>
<div style="display: inline">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
<p class="rss-subscribe">Switch to <a href="{{ "/index.html" | prepend: site.baseurl }}">Normal</a></p>
</div>