mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
Update themes
This commit is contained in:
parent
cc6a797629
commit
bb83ba8be5
6 changed files with 10 additions and 28 deletions
|
|
@ -17,17 +17,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php $i = 0; $len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
<?php if ($i == 0) {
|
||||
$class = 'post first';
|
||||
} elseif ($i == $len - 1) {
|
||||
$class = 'post last';
|
||||
} else {
|
||||
$class = 'post';
|
||||
}
|
||||
$i++; ?>
|
||||
<section class="post section <?php echo $class ?>" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<section class="post section" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="section-inner">
|
||||
<div class="content">
|
||||
<div class="item">
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@
|
|||
<div class="section-inner">
|
||||
<div class="content">
|
||||
<div class="item" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h2 class="title" itemprop="name"><?php echo $name ?></h2>
|
||||
<h2 class="title" itemprop="name"><?php echo $author->name ?></h2>
|
||||
<div class="desc text-left" itemprop="description">
|
||||
<?php echo $about; ?>
|
||||
<?php echo $author->about; ?>
|
||||
</div><!--//desc-->
|
||||
<h3><?php echo i18n("Post_by_author");?></h3>
|
||||
<?php if (!empty($posts)) { ?>
|
||||
|
|
|
|||
|
|
@ -10,17 +10,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php $i = 0; $len = count($posts); ?>
|
||||
<?php foreach ($posts as $p): ?>
|
||||
<?php if ($i == 0) {
|
||||
$class = 'post first';
|
||||
} elseif ($i == $len - 1) {
|
||||
$class = 'post last';
|
||||
} else {
|
||||
$class = 'post';
|
||||
}
|
||||
$i++; ?>
|
||||
<div class="<?php echo $class ?>" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="post" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<?php if (!empty($p->link)) { ?>
|
||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->link ?>"><?php echo $p->title ?> →</a></h2>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
<?php endif; ?>
|
||||
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
|
||||
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $about ?></div>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $author->name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $$author->about ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-index"><?php echo i18n("Post_by_author");?></h2>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
<?php endif; ?>
|
||||
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
|
||||
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $about ?></div>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $author->name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $author->about ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-index"><?php echo i18n('Post_by_author');?></h2>
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
<?php endif; ?>
|
||||
<div class="profile-wrapper" itemprop="accountablePerson" itemscope="itemscope">
|
||||
<div class="profile" itemtype="http://schema.org/Person" itemscope="itemscope" itemprop="Person">
|
||||
<h1 class="title-post" itemprop="name"><?php echo $name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $about ?></div>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $author->name ?></h1>
|
||||
<div class="bio" itemprop="description"><?php echo $author->about ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="post-index"><?php echo i18n('Post_by_author');?></h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue