File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -68,3 +68,4 @@ exclude:
68
68
69
69
collections :
70
70
- posts_category_info
71
+ - til
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.title | escape }}</a
13
13
< nav >
14
14
< a href ="{{ site.baseurl }}/ "> Blog</ a >
15
15
< a href ="{{ site.baseurl }}/archive "> Archive</ a >
16
+ <!--<a href="{{ site.baseurl }}/til">TIL</a>-->
16
17
< a href ="{{ site.baseurl }}/about "> About</ a >
17
18
< a href ="{{ site.personalurl }} " target ="_blank "> Me</ a >
18
19
</ nav >
Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: page
3
+ permalink: /til/
4
+ title: TIL
5
+ ---
6
+
7
+ Collection of links to random stuff I found interesting at some point.
8
+
9
+ < div id ="TIL ">
10
+ {% assign til_categories = site.til | map: "category" | uniq %}
11
+ {% for til_category in til_categories %}
12
+ < h2 class ="category-head "> {{ til_category | capitalize }}</ h2 >
13
+ < ul >
14
+ {% for til in site.til %}
15
+ {% if til.category == til_category %}
16
+ < li > {{til.content | remove: '< p > ' | remove: '</ p > ' }} - < span class ="date "> < time datetime ="{{ til.date | date_to_xmlschema }} " itemprop ="datePublished "> {{ til.date | date: "%b %-d, %Y" }}</ time > </ span > </ li >
17
+ {% endif %}
18
+ {% endfor %}
19
+ </ ul >
20
+ {% endfor %}
21
+ </ div >
22
+
23
+ <!--Inspired by: https://til.simonwillison.net/-->
You can’t perform that action at this time.
0 commit comments