Static frontpage and improvements

Add new config: static.frontpage = "true" to enable the static
frontpage.
This commit is contained in:
Danang Probo Sayekti 2015-11-14 10:10:34 +07:00
commit eb8e0ac503
7 changed files with 281 additions and 40 deletions

View file

@ -6,7 +6,7 @@
<div class="content">
<?php if (login()) { echo tab($p); } ?>
<div class="item">
<h2 class="title" itemprop="headline"><a href="<?php echo $p->url;?>"><?php echo $p->title;?></a></h2>
<h1 class="title" itemprop="headline"><?php echo $p->title;?></h1>
<div class="desc text-left" itemprop="articleBody">
<?php echo $p->body; ?>
</div><!--//desc-->