Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,5 +32,6 @@ defaults: | |
values: | ||
layout: page | ||
comments: true | ||
tags: code | ||
|
||
# Custom vars |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
layout: page | ||
title: Tags | ||
--- | ||
|
||
{% capture tags %} | ||
{% for tag in site.tags %} | ||
{{ tag[0] }} | ||
{% endfor %} | ||
{% endcapture %} | ||
{% assign sortedtags = tags | split:' ' | sort %} | ||
|
||
{% for tag in sortedtags %} | ||
# {{ tag }} | ||
|
||
{% for post in site.tags[tag] %} | ||
* {{ post.date | date_to_string }} » [{{ post.title }}]({{ post.url }}) | ||
{% endfor %} | ||
|
||
{% endfor %} |