From a6a3ce7c7e60e1a19459b7cb2b42793da50bed03 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 16 Jun 2010 20:23:22 +1000 Subject: [PATCH] Filter articles with Quicksand --- layouts/_article.html | 2 +- layouts/articles.html | 42 ++++++++++++++++++++----------- output/js/application.js | 32 +++++++++++------------ output/js/jquery.quicksand.min.js | 7 ++++++ 4 files changed, 51 insertions(+), 32 deletions(-) create mode 100644 output/js/jquery.quicksand.min.js diff --git a/layouts/_article.html b/layouts/_article.html index 6595527..093d6c8 100644 --- a/layouts/_article.html +++ b/layouts/_article.html @@ -1,5 +1,5 @@ <% post_date = WezM::Helpers.parse_post_date(@article) %> -
  • +
  • <%= post_date.day %> <%= post_date.strftime('%b') %> diff --git a/layouts/articles.html b/layouts/articles.html index d180c9f..d73e499 100644 --- a/layouts/articles.html +++ b/layouts/articles.html @@ -2,24 +2,36 @@ <%= render '_head' %> - - + + @@ -45,7 +57,7 @@ active = (@item.identifier.sub(%r{page/$}, '') == path) %>
  • - Black Feed Icon + Black Feed Icon ><%= label %> (<%= count %>)
  • <% end %> @@ -58,7 +70,7 @@ -