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)
%>
-
+
><%= label %> (<%= count %>)
<% end %>
@@ -58,7 +70,7 @@
-
+
diff --git a/output/js/application.js b/output/js/application.js
index 33a5032..10c1117 100644
--- a/output/js/application.js
+++ b/output/js/application.js
@@ -3,28 +3,28 @@ var WezM = {
_months: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
per_page: 10,
showJavascriptWidgets: function() {
- $('.pagination').show();
+ //$('.pagination').show();
$('#search').show();
- $('#search input').jsonSuggest(this.articles, {
- onSelect: this._searchItemSelected,
- width: '400px'
- });
+ // $('#search input').jsonSuggest(this.articles, {
+ // onSelect: this._searchItemSelected,
+ // width: '400px'
+ // });
if(navigator.userAgent.toLowerCase().indexOf('webkit') >= 0) { // TODO: This is too generic (iPhone)
$('#search input').css('paddingTop', 0);
}
// The following should be triggered onchange for the input as well
// (to handle things like Cut with the mouse)
- $('#search input').keyup(function(e) {
- var input = $(this);
- var clear_search = $('#search .clear');
- var value = input.attr('value');
- if(value && (value != '')) {
- clear_search.addClass('active');
- }
- else {
- clear_search.removeClass('active');
- }
- });
+ // $('#search input').keyup(function(e) {
+ // var input = $(this);
+ // var clear_search = $('#search .clear');
+ // var value = input.attr('value');
+ // if(value && (value != '')) {
+ // clear_search.addClass('active');
+ // }
+ // else {
+ // clear_search.removeClass('active');
+ // }
+ // });
$('#search .clear.active').live('click', function() {
$('#search input').attr('value', '').keyup(); // Simulate keypress to clear results
diff --git a/output/js/jquery.quicksand.min.js b/output/js/jquery.quicksand.min.js
new file mode 100644
index 0000000..549913f
--- /dev/null
+++ b/output/js/jquery.quicksand.min.js
@@ -0,0 +1,7 @@
+(function(a){a.fn.quicksand=function(y,r,t){var b={duration:750,easing:"swing",attribute:"data-id",adjustHeight:"auto",useScaling:true,enhancement:function(){},selector:"> *"};a.extend(b,r);if(a.browser.msie||typeof a.fn.scale=="undefined")b.useScaling=false;var o;if(typeof r=="function")o=r;else if(typeof(t=="function"))o=t;return this.each(function(k){var m,i=[],l=a(y).clone(),g=a(this);k=a(this).css("height");var p,u=false,v=a(g).offset(),s=[],n=a(this).find(b.selector);if(a.browser.msie&&a.browser.version.substr(0,
+1)<7)g.html("").append(l);else{var w=0,z=function(){if(!w){g.html(j.html());typeof o=="function"&&o.call(this);u&&g.css("height",p);b.enhancement(g);w=1}},c=g.offsetParent(),e=c.offset();if(c.css("position")=="relative"){if(c.get(0).nodeName.toLowerCase()!="body"){e.top+=parseFloat(c.css("border-top-width"));e.left+=parseFloat(c.css("border-left-width"))}}else{e.top-=parseFloat(c.css("border-top-width"));e.left-=parseFloat(c.css("border-left-width"));e.top-=parseFloat(c.css("margin-top"));e.left-=
+parseFloat(c.css("margin-left"))}g.css("height",a(this).height());n.each(function(f){s[f]=a(this).offset()});a(this).stop();n.each(function(f){a(this).stop();var h=a(this).get(0);h.style.position="absolute";h.style.margin="0";h.style.top=s[f].top-parseFloat(h.style.marginTop)-e.top+"px";h.style.left=s[f].left-parseFloat(h.style.marginLeft)-e.left+"px"});var j=a(g).clone();c=j.get(0);c.innerHTML="";c.setAttribute("id","");c.style.height="auto";c.style.width=g.width()+"px";j.append(l);j.insertBefore(g);
+j.css("opacity",0);c.style.zIndex=-1;c.style.margin="0";c.style.position="absolute";c.style.top=v.top-e.top+"px";c.style.left=v.left-e.left+"px";if(b.adjustHeight==="dynamic")g.animate({height:j.height()},b.duration,b.easing);else if(b.adjustHeight==="auto"){p=j.height();if(parseFloat(k)