Permalink
Browse files

add support for tags

  • Loading branch information...
tlnagy committed Aug 12, 2016
1 parent 034020b commit 4ac3f7ac0e02e80609766a7850308c896c32a027
View
@@ -11,6 +11,12 @@ <h2 class="post-title">{{ page.title }}</h2>
<article class="post-content">
{{ content }}
</article>
<li id="taglist">
{% for tag in page.tags %}
<a href='{{ site.baseurl}}/tags/#{{tag | downcase | replace:" ","-" }}'>{{tag | downcase | replace:" ","-" }}</a>
{% endfor %}
</li>
{% include revision.html %}
View
@@ -305,6 +305,20 @@ code {
margin-bottom: 3em;
}
.taglistpage{
list-style: none
}
.tagname{
text-decoration: none;
}
#hometaglink {
margin: 1em 0 -2em 0;
text-align: center;
float: none;
}
@media (min-width: 38em) {
.post-list time {
float: right;
@@ -2,7 +2,7 @@
title: "New year, new site"
author: Tamas Nagy
layout: post
tags: [blog, design]
tags: [meta]
image: blog_old_crop.png
---
@@ -2,6 +2,7 @@
title: Building this Jekyll site on Debian 8
author: Tamas Nagy
layout: post
tags: [meta, linux]
---
One of my goals with the redesign was to improve the portability of my
View
@@ -16,4 +16,5 @@
</li>
{% endfor %}
</ul>
<a id="hometaglink" href="tags/">View posts organized by tags</a>
</div> <!-- .post-list -->

0 comments on commit 4ac3f7a

Please sign in to comment.