-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnotebook.html
More file actions
executable file
·40 lines (34 loc) · 1.09 KB
/
notebook.html
File metadata and controls
executable file
·40 lines (34 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
---
layout: default
title: Notebook
---
<div class="span-12 last">
<p class="first">
碎碎念
</p>
</div>
<div class="span-12 last">
<p class="second">
Posts:
</p>
</div>
<div class="span-3">
<nav id="post-archive-category-list">
<ul>
{% for category in site.categories %}<li><a class="cat-{{ (category | first) | replace:' ','-'}}" href="javascript:filterByCategory('cat-{{ (category | first) | replace:' ','-'}}')">{{ category | first }}</a></li>{% endfor %}
<li><a class="reset selected" href="javascript:filterByCategory('reset')">everything ✱</a></li>
</ul>
</nav>
</div>
<div class="span-9 last">
<nav id="post-archive-list">
<ul>
{% for post in site.posts %}
<li class="{% for category in post.categories %}cat-{{ category| replace:' ','-'}} {% endfor %}"><a class="title" href="{{ post.url }}">{{ post.title }}</a><span class="archive-listing-date">{{ post.date | date: "%d %b, %Y" }}</span></li>
{% endfor %}
</ul>
</nav>
</div>
<script type="text/javascript">
window.onload=initArchive();
</script>