Browse Source

Update themes

pull/674/head
danpros 1 year ago
parent
commit
bb83ba8be5
6 changed files with 10 additions and 28 deletions
  1. +1
    -10
      themes/blog/main.html.php
  2. +2
    -2
      themes/blog/profile.html.php
  3. +1
    -10
      themes/clean/main.html.php
  4. +2
    -2
      themes/clean/profile.html.php
  5. +2
    -2
      themes/logs/profile.html.php
  6. +2
    -2
      themes/readable/profile.html.php

+ 1
- 10
themes/blog/main.html.php View File

@ -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">


+ 2
- 2
themes/blog/profile.html.php View File

@ -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)) { ?>


+ 1
- 10
themes/clean/main.html.php View File

@ -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 ?> &rarr;</a></h2>


+ 2
- 2
themes/clean/profile.html.php View File

@ -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>


+ 2
- 2
themes/logs/profile.html.php View File

@ -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>


+ 2
- 2
themes/readable/profile.html.php View File

@ -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…
Cancel
Save