Skip to content

Commit

Permalink
Working tag pages
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrostoff committed Dec 30, 2018
1 parent 68488d9 commit 32c39d9
Show file tree
Hide file tree
Showing 13 changed files with 274 additions and 57 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ google_analytics: UA-51453428-1
links:
- name: About
url: /about
- name: Posts
url: /
- name: Book Recos
url: /books
- name: Email
Expand Down
19 changes: 19 additions & 0 deletions _layouts/tag.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: index
---

<ul class="posts">
{% for post in site.tags[page.tag] %}
<li>
<small class="datetime muted" data-time="{{ post.date }}">{{ post.date | date_to_string }} </small>
<a href="{{ post.url }}">{{ post.title }}</a>
<div>
{%for tag in post.tags %}
<div id="tag">
<a href="/tag/{{tag}}">{{tag}}</a>
</div>
{% endfor %}
</div>
</li>
{% endfor %}
</ul>
2 changes: 1 addition & 1 deletion _posts/2014-08-08-techies-v-bankers.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: A Highly Entertaining Spat
tags: technical
tags: general
date: 2014-08-08
---

Expand Down
42 changes: 41 additions & 1 deletion _posts/2016-05-27-endless-learning.md

Large diffs are not rendered by default.

Loading

0 comments on commit 32c39d9

Please sign in to comment.