mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
main
FI & Vid
This commit is contained in:
parent
02f72e51a8
commit
c73c09c451
1 changed files with 11 additions and 1 deletions
|
|
@ -17,6 +17,16 @@
|
|||
<div class="main">
|
||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url?>"><?php echo $p->title ?></a></h2>
|
||||
<div class="date">
|
||||
<?php if (!empty($p->feature)){?>
|
||||
<div class="featured-image">
|
||||
<a href="<?php echo $p->url?>"><img src="<?php echo $p->feature; ?>" alt="<?php echo $p->title ?>"/></a>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (!empty($p->video)){?>
|
||||
<div class="featured-video">
|
||||
<iframe src="https://www.youtube.com/embed/<?php echo $p->video; ?>" width="560" height="315" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
<?php }?>
|
||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date)?></span> - Posted in
|
||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
||||
<span itemprop="author"><a href="<?php echo $p->authorurl ?>"><?php echo $p->author ?></a></span>
|
||||
|
|
@ -45,4 +55,4 @@
|
|||
<?php endif;?>
|
||||
<?php if (disqus_count()):?>
|
||||
<?php echo disqus_count() ?>
|
||||
<?php endif;?>
|
||||
<?php endif;?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue