Maintenance & Bugs fixes

Glob() is expensive so cache the category files.
This commit is contained in:
Danang Probo Sayekti 2016-01-09 12:30:23 +07:00
commit 8af0ef159f
8 changed files with 221 additions and 112 deletions

View file

@ -439,7 +439,7 @@ iframe {
margin-top:0px;
margin-bottom: 30px;
}
.inprofile .pager {
.in-profile .pager {
margin-bottom:0px;
}
@ -447,7 +447,7 @@ iframe {
.share{
padding-top:0;
}
.inpost .share {
.in-post .share {
padding-top:0;
}
.share a{

View file

@ -491,7 +491,7 @@ table.post-list td a {
width: 100%;
}
.inpost .post {
.in-post .post {
padding-bottom: 0;
}
@ -527,30 +527,30 @@ h1.title-post a:hover, h2.title-index a:hover {
color: #2E9FFF;
}
.inpost .post {
.in-post .post {
padding-top: 0;
border: none;
}
.inpage .border {
.in-page .border {
padding: 0;
margin: 0;
border: 0;
}
.inpage .post {
.in-page .post {
padding-top: 0;
}
.infront .first, .inpost .post, .intag .first, .inarchive .first, .insearch .first, .error-404 .post, .error-404-search .post {
.in-front .first, .in-post .post, .in-tag .first, .in-archive .first, .in-search .first, .error-404 .post, .error-404-search .post {
padding-top: 0;
}
.infront .first h2.title-index {
.in-front .first h2.title-index {
margin-top: 0;
}
.inprofile .bio {
.in-profile .bio {
font-size: 14px;
font-style: italic;
border-bottom: 1px solid #EBF2F6;

View file

@ -484,7 +484,7 @@ ul li, ol li {
margin-bottom: 1.5em;
}
.inpost .post {
.in-post .post {
border: none;
}

View file

@ -25,7 +25,7 @@
header("Location: $url");
}
?>
<body class="home blog">
<body class="<?php echo $bodyclass;?>">
<?php if (facebook()) { echo facebook(); } ?>
<?php if (login()) { toolbar(); } ?>
<div id="page" class="hfeed site">

View file

@ -31,7 +31,7 @@
header("Location: $url");
}
?>
<body class="home blog hfeed">
<body class="<?php echo $bodyclass;?>">
<?php if (facebook()) { echo facebook(); } ?>
<?php if (login()) { toolbar(); } ?>
<div id="page" class="site">