mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
Improve theme
This commit is contained in:
parent
8b2d616a88
commit
38faebe6d6
11 changed files with 94 additions and 29 deletions
|
|
@ -1,19 +1,21 @@
|
|||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb"><?php echo $breadcrumb ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($category)): ?>
|
||||
<div class="section">
|
||||
<div class="section-inner">
|
||||
<div class="content">
|
||||
<div class="item">
|
||||
<h2 class="title"><?php echo $category->title;?></h2>
|
||||
<div class="text-left">
|
||||
<?php echo $category->body; ?>
|
||||
</div><!--//desc-->
|
||||
</div><!--//item-->
|
||||
</div><!--//content-->
|
||||
</div>
|
||||
</div>
|
||||
<?php if (config('category.info')):?>
|
||||
<?php if (!empty($category)): ?>
|
||||
<div class="section">
|
||||
<div class="section-inner">
|
||||
<div class="content">
|
||||
<div class="item">
|
||||
<h2 class="title"><?php echo $category->title;?></h2>
|
||||
<div class="text-left">
|
||||
<?php echo $category->body; ?>
|
||||
</div><!--//desc-->
|
||||
</div><!--//item-->
|
||||
</div><!--//content-->
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $i = 0; $len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue