This commit is contained in:
avene 2018-06-23 17:50:11 +08:00
parent a7cabd22e9
commit 3024e31c01
1 changed files with 3 additions and 3 deletions

View File

@ -57,15 +57,15 @@ $this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css')
<div class="blog-article hentry format-image">
<figure>
<?php if ($v['image'] != '') { ?>
<img class="img-responsive" src="<?= $v['image'] ?>">
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="<?= $v['image'] ?>"></a>
<?php } else { ?>
<img class="img-responsive" src="/static-sanjy-np/img/banner03.jpg">
<a href="<?php echo $v['url']; ?>"><img class="img-responsive" src="/static-sanjy-np/img/banner03.jpg"></a>
<?php } ?>
</figure>
<div class="entry-summary post-summary">
<header class="entry-header">
<h2 class="entry-title post-title"><?php echo $v['title']; ?></h2>
<h2 class="entry-title post-title"><a href="<?php echo $v['url']; ?>"><?php echo $v['title']; ?></a></h2>
</header>
<div class="entry-meta post-meta">
<ul>