mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
Static frontpage and improvements
Add new config: static.frontpage = "true" to enable the static frontpage.
This commit is contained in:
parent
19592fe137
commit
eb8e0ac503
7 changed files with 281 additions and 40 deletions
|
|
@ -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-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue