-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
119 lines (111 loc) · 4.73 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
layout: default
---
<div class="page clearfix" index>
<div class="left">
<h1>My Datasets</h1>
<p>
This my collection of annotated metadata
</p>
<hr>
<ul>
{% for post in site.metadata %}
<li>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<div class="label">
<div class="label-card">
<i class="fa fa-calendar"></i>{{ post.date | date: "%F" }}
</div>
<div class="label-card">
{% if post.author %}<i class="fa fa-user"></i>{{ post.author }}
{% endif %}
</div>
<div class="label-card">
{% if page.meta %}<i class="fa fa-key"></i>{{ page.meta }} {% endif %}
</div>
<div class="label-card">
{% include category.html %}
</div>
<div class="label-card">
{% include tag.html %}
</div>
</div>
<div class="excerpt">
{{post.excerpt}}
</div>
<div class="read-all">
<a href="{{ post.url | prepend: site.baseurl }}"><i class="fa fa-newspaper-o"></i>Read All</a>
</div>
<hr>
</li>
{% endfor %}
</ul>
<!-- Pagination links -->
<div class="pagination">
{% if paginator.previous_page %}
<a href="/index.html" class="previous"><i class="fa fa-angle-double-left"></i></a>
<a href="{{ paginator.previous_page_path }}" class="previous"><i class="fa fa-angle-left"></i></a>
{% else %}
<span class="previous disable"><i class="fa fa-angle-double-left"></i></span>
<span class="previous disable"><i class="fa fa-angle-left"></i></span>
{% endif %}
<span class="page_number ">{{ paginator.page }}/{{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next"><i class="fa fa-angle-right"></i></a>
<a href="/page{{ paginator.total_pages }}" class="next"><i class="fa fa-angle-double-right"></i></a>
{% else %}
<span class="next disable"><i class="fa fa-angle-right"></i></span>
<span class="next disable"><i class="fa fa-angle-double-right"></i></span>
{% endif %}
</div>
</div>
<!-- <button class="anchor"><i class="fa fa-anchor"></i></button> -->
<div class="right">
<div class="wrap">
<div class="side">
<ul class="content-ul" recent>
<div>
<i class="fa fa-th-list" aria-hidden="true"></i>
Source
</div>
<li><a href="{{site.github.repository_url}}">GitHub Repo</a></li>
<li><a href="{{site.github.repository_url}}/blob/gh-pages/_metadata">MetaData</a></li>
</ul>
</div>
<div class="side">
<div>
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
Recent Data
</div>
<ul class="content-ul" recent>
{% for dataset in site.metadata offset: 0 limit: 10 %}
<li><a href="{{ site.baseurl}}{{ dataset.url }}">{{ dataset.title }}</a></li>
{% endfor %}
</ul>
</div>
<!-- Content -->
<div class="side ">
<div>
<i class="fa fa-th-list"></i>
Categories
</div>
<ul class="content-ul" cate>
{% for category in site.biocaddie_categories %}
<li>
<a href="{{ site.baseurl }}{{ root_url }}/mycat#{{ category }}" class="categories-list-item" cate="{{ category }}">
<span class="name">
{{ category }}
</span>
<!-- <span class="badge">{{ category | last | size }}</span> -->
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<!-- <script src="{{ "/js/scroll.min.js " | prepend: site.baseurl }}" charset="utf-8"></script> -->
<!-- <script src="{{ "/js/pageContent.js " | prepend: site.baseurl }}" charset="utf-8"></script> -->