$(document).ready(function(){
  alert("hello world");
if(window.location.href=="{{ site.BASE_PATH }}/uno-dbyll/")
{
$("#sidebar").css({width:'100%'});
$("#btnblog").click(function(){
$("#sidebar").animate({width:'33.3333%'},'slow');
});
}
});

$(document).ready(function(){
  alert("hello world");
if(window.location.href=="http://meliodus.github.io/uno-dbyll/")
{
$("#sidebar").css({width:'100%'});
$("#btnblog").click(function(){
$("#sidebar").animate({width:'33.3333%'},'slow');
});
}
});

Update app.js