-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.html
87 lines (79 loc) · 2.77 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
---
layout: default
---
<script src="{{ "/styles/index.js" | prepend: site.baseurl }}"></script>
<div>
<a id="posts-btn" class="waves-effect waves-teal btn-flat btn-large" onclick="show_posts();">{{ site.posts_btn }}</a>
<a id="projects-btn" class="waves-effect waves-teal btn-flat btn-large" onclick="show_projects();">{{ site.projects_btn }}</a>
</div>
<div id="posts">
<h2 class="my-mini-heading">{{ site.posts_btn }}</h2>
<ul>
{% for post in site.posts %}
<li>
<p class="my-item">
<a href="{{ post.url | prepend: site.baseurl }}" class="my-link">{{ post.title }}</a><br>
<span class="my-item-sub">{{ post.date | date: "%b %-d, %Y" }}</span><br>
{{ post.content | strip_html | truncatewords: 20 }}
</p>
</li>
{% endfor %}
<li>
<p class="my-item">
<a href="{{ "/feed.xml" | prepend: site.baseurl }}" class="my-link">RSS</a> / <a href="{{ "/atom.xml" | prepend: site.baseurl }}" class="my-link">ATOM</a><br>
<i class="fa fa-rss" aria-hidden="true"></i> {{ site.rss_badge }}
</li>
</ul>
<div>
<a onclick="hide_lists();" class="waves-effect waves-teal btn-flat btn-large">{{ site.close_btn }}</a>
</div>
</div>
<div id="projects">
<h2 class="my-mini-heading">{{ site.projects_btn }}</h2>
<ul>
{% for project in site.data.projects %}
<li>
<p class="my-item"><a href="{{ project.link }}" class="my-link">{{ project.name }}</a><br>
{{ project.description }}
</p>
</li>
{% endfor %}
</ul>
<div>
<a onclick="hide_lists();" class="waves-effect waves-teal btn-flat btn-large">{{ site.close_btn }}</a>
</div>
</div>
<noscript>
<div id="posts-noscript">
<h2 class="my-mini-heading">{{ site.posts_btn }}</h2>
<ul>
{% for post in site.posts %}
<li>
<p class="my-item">
<a href="{{ post.url | prepend: site.baseurl }}" class="my-link">{{ post.title }}</a><br>
<span class="my-item-sub">{{ post.date | date: "%b %-d, %Y" }}</span>
</p>
</li>
{% endfor %}
<li>
<p class="my-item">
<a href="{{ "/feed.xml" | prepend: site.baseurl }}" class="my-link">RSS</a> / <a href="{{ "/atom.xml" | prepend: site.baseurl }}" class="my-link">ATOM</a><br>
<span class="my-item-sub"><i class="fa fa-rss" aria-hidden="true"></i> {{ site.rss_badge }}</span>
</li>
</ul>
</div>
<div id="projects-noscript">
<h2 class="my-mini-heading">{{ site.projects_btn }}</h2>
<ul>
{% for project in site.data.projects %}
<li>
<p class="my-item"><a href="{{ project.link }}" class="my-link">{{ project.name }}</a><br>
<span class="my-item-sub">
{{ project.description }}
</span>
</p>
</li>
{% endfor %}
</ul>
</div>
</noscript>