mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
Update themes
This commit is contained in:
parent
103dcbe197
commit
cc6a797629
23 changed files with 187 additions and 66 deletions
|
|
@ -2,15 +2,13 @@
|
|||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb"><?php echo $breadcrumb ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if (config('category.info') === 'true'):?>
|
||||
<?php if (!empty($category)): ?>
|
||||
<div class="category">
|
||||
<h2 class="category-title"><?php echo $category->title;?></h2>
|
||||
<div class="category-content">
|
||||
<?php echo $category->body; ?>
|
||||
</div>
|
||||
<?php if (!empty($category)): ?>
|
||||
<div class="category">
|
||||
<h2 class="category-title"><?php echo $category->title;?></h2>
|
||||
<div class="category-content">
|
||||
<?php echo $category->body; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php $i = 0; $len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
|
|
@ -38,7 +36,7 @@
|
|||
<?php } elseif (facebook()) { ?> -
|
||||
<a href="<?php echo $p->url ?>#comments"><span><fb:comments-count href=<?php echo $p->url ?>></fb:comments-count> <?php echo i18n("Comments");?></span></a>
|
||||
<?php } ?>
|
||||
<?php if (login()) { echo ' - <span><a href="'. $p->url .'/edit?destination=post">Edit</a></span>'; } ?>
|
||||
<?php if (login()) { echo ' - <span><a href="'. $p->url .'/edit?destination=post">Edit</a></span>'; } ?>
|
||||
</div>
|
||||
<?php if (!empty($p->image)) { ?>
|
||||
<div class="featured-image">
|
||||
|
|
|
|||
|
|
@ -10,4 +10,12 @@
|
|||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="postnav">
|
||||
<?php if (!empty($next)): ?>
|
||||
<span><a href="<?php echo($next['url']); ?>" class="pagination-arrow newer" rel="next"><?php echo($next['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($prev)): ?>
|
||||
<span><a href="<?php echo($prev['url']); ?>" class="pagination-arrow older" rel="prev"><?php echo($prev['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue