Skip to content

Instantly share code, notes, and snippets.

@zixiaojindao
Created September 30, 2012 05:34
Show Gist options
  • Save zixiaojindao/3805966 to your computer and use it in GitHub Desktop.
Save zixiaojindao/3805966 to your computer and use it in GitHub Desktop.
jeklly tags index.md
title layout
tag cloud
page
{% for tag in site.tags %} {{ tag[0] }} {% endfor %}
    {% for tag in site.tags %}
  • {{ tag[0] }}
  • {% for post in tag[1] %}
  • {{ post.date | date:"%Y-%m-%d" }} {{ post.title }}
  • {% endfor %} {% endfor %}
<script src="/js/jquery.tagcloud.js" type="text/javascript" charset="utf-8"></script> <script language="javascript"> $.fn.tagcloud.defaults = { size: {start: 1, end: 2, unit: 'em'}, color: {start: '#ada8b5', end: '#000000'} }; $(function () { $('#tag_cloud a').tagcloud(); }); </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment