Add some basics needed for tagging

This commit is contained in:
R. Tyler Croy 2011-05-15 15:02:59 -07:00
parent b6004034cc
commit a6ee6ecad9
3 changed files with 15 additions and 1 deletions

View File

@ -63,7 +63,12 @@
<span class="postal-code"></span>
<span class="country-name">USA</span>
</div>
</div>
<h3>Tags</h3>
<div id="tag-cloud">
{{ site | tag_cloud }}
</div>
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js"></script>

9
_layouts/tag_page.html Normal file
View File

@ -0,0 +1,9 @@
---
layout: default
---
<h2>{{ page.tag }}</h2>
<ul>
{% for post in page.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
{% endfor %}
</ul>

BIN
images/tag-icon.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B