mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 05:56:22 +05:30
[TASK] update composer
This commit is contained in:
parent
3c6936349f
commit
a685bcf91b
116 changed files with 4837 additions and 8167 deletions
|
|
@ -1,58 +1,73 @@
|
|||
<?php if (!empty($breadcrumb)):?><div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif;?>
|
||||
<?php if(login()) { echo tab($p);} ?>
|
||||
<?php if (!empty($breadcrumb)): ?>
|
||||
<div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php echo $breadcrumb ?></div><?php endif; ?>
|
||||
<?php if (login()) {
|
||||
echo tab($p);
|
||||
} ?>
|
||||
<div class="post" itemprop="blogPost" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
|
||||
<div class="main">
|
||||
<a name="more"></a>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
<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"><a href="<?php echo $p->archive ?>" title="Show all posts made on this day"><?php echo date('d F Y', $p->date)?></a></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> -
|
||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||
</div>
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator">→</div>
|
||||
<div class="share-box">
|
||||
<?php echo $authorinfo ?>
|
||||
<div class="share">
|
||||
<h4>Share this post</h4>
|
||||
<a class="twitter" target="_blank" href="https://twitter.com/share?url=<?php echo $p->url ?>&text=<?php echo $p->title?>">Twitter</a>
|
||||
<a class="facebook" target="_blank" href="https://www.facebook.com/sharer.php?u=<?php echo $p->url ?>&t=<?php echo $p->title?>">Facebook</a>
|
||||
<a class="googleplus" target="_blank" href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo get_related($p->tag)?>
|
||||
<div id="comments" class="comments border">
|
||||
<?php if (facebook()):?>
|
||||
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>" data-colorscheme="<?php echo config('fb.color') ?>"></div>
|
||||
<?php endif;?>
|
||||
<?php if (disqus()):?>
|
||||
<div id="disqus_thread"></div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<div class="postnav">
|
||||
<?php if (!empty($next)):?>
|
||||
<span><a href="<?php echo ($next['url']);?>" class="pagination-arrow newer" rel="next"><?php echo ($next['title']);?></a></span>
|
||||
<?php endif;?>
|
||||
<div class="main">
|
||||
<a name="more"></a>
|
||||
|
||||
<?php if (!empty($prev)):?>
|
||||
<span><a href="<?php echo ($prev['url']); ?>" class="pagination-arrow older" rel="prev"><?php echo ($prev['title']); ?></a></span>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
<?php if (disqus()):?>
|
||||
<?php echo disqus($p->title, $p->url) ?>
|
||||
<?php endif;?>
|
||||
<h1 class="title-post" itemprop="name"><?php echo $p->title ?></h1>
|
||||
|
||||
<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"><a href="<?php echo $p->archive ?>"
|
||||
title="Show all posts made on this day"><?php echo date('d F Y', $p->date) ?></a></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> -
|
||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||
</div>
|
||||
<div class="post-body" itemprop="articleBody">
|
||||
<?php echo $p->body; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="separator">→</div>
|
||||
<div class="share-box">
|
||||
<?php echo $authorinfo ?>
|
||||
<div class="share">
|
||||
<h4>Share this post</h4>
|
||||
<a class="twitter" target="_blank"
|
||||
href="https://twitter.com/share?url=<?php echo $p->url ?>&text=<?php echo $p->title ?>">Twitter</a>
|
||||
<a class="facebook" target="_blank"
|
||||
href="https://www.facebook.com/sharer.php?u=<?php echo $p->url ?>&t=<?php echo $p->title ?>">Facebook</a>
|
||||
<a class="googleplus" target="_blank"
|
||||
href="https://plus.google.com/share?url=<?php echo $p->url ?>">Google+</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo get_related($p->tag) ?>
|
||||
<div id="comments" class="comments border">
|
||||
<?php if (facebook()): ?>
|
||||
<div class="fb-comments" data-href="<?php echo $p->url ?>" data-numposts="<?php echo config('fb.num') ?>"
|
||||
data-colorscheme="<?php echo config('fb.color') ?>"></div>
|
||||
<?php endif; ?>
|
||||
<?php if (disqus()): ?>
|
||||
<div id="disqus_thread"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="postnav">
|
||||
<?php if (!empty($next)): ?>
|
||||
<span><a href="<?php echo($next['url']); ?>" class="pagination-arrow newer"
|
||||
rel="next"><?php echo($next['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($prev)): ?>
|
||||
<span><a href="<?php echo($prev['url']); ?>" class="pagination-arrow older"
|
||||
rel="prev"><?php echo($prev['title']); ?></a></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (disqus()): ?>
|
||||
<?php echo disqus($p->title, $p->url) ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue