-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.html
28 lines (23 loc) · 943 Bytes
/
notes.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
---
layout: page
permalink: /notes/
title: Notes
description: Here are notes encompassing a variety of topics.
---
<div id="archives">
{% for category in site.categories %}
<div class="archive-group">
{% capture category_name %}{{ category | first }}{% endcapture %}
<h1 class="category-head">{{ category_name | replace: "-", " " }}</h1> <!--replace the '-' to ' ', which means category name with more than one words needs to connect with '-' -->
<a name="{{ category_name | slugize }}"></a>
{% for post in site.categories[category_name] %}
<article class="recent-posts">
<p style="line-height: 0.8;"><small>[{{ post.date | date_to_string }}]</small>   <a href="{{ site.baseurl }}{{ post.url }}">{{post.title}} </a></p>
</article>
{% endfor %}
<hr>
</div>
{% endfor %}
</div>
<br>
<a style="text-decoration:none;" href="{{ '/timeline' | relative_url }}"><h1>Timeline of posts</h1></a>