|
|
@ -90,7 +90,7 @@ |
|
|
<div class="secondary col-md-4 col-sm-12 col-xs-12"> |
|
|
<div class="secondary col-md-4 col-sm-12 col-xs-12"> |
|
|
<aside class="aside section"> |
|
|
<aside class="aside section"> |
|
|
<div class="section-inner"> |
|
|
<div class="section-inner"> |
|
|
<h2 class="heading">About</h2> |
|
|
|
|
|
|
|
|
<h2 class="heading"><?php echo i18n("About");?></h2>
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<?php echo blog_description();?>
|
|
|
<?php echo blog_description();?>
|
|
|
</div><!--//content--> |
|
|
</div><!--//content--> |
|
|
@ -100,15 +100,15 @@ |
|
|
<div class="section-inner"> |
|
|
<div class="section-inner"> |
|
|
<!-- Tab nav --> |
|
|
<!-- Tab nav --> |
|
|
<ul class="nav nav-tabs" role="tablist"> |
|
|
<ul class="nav nav-tabs" role="tablist"> |
|
|
<li role="presentation" class="active"><a href="#recent-posts" aria-controls="recent-posts" role="tab" data-toggle="tab">Recent Posts</a></li> |
|
|
|
|
|
|
|
|
<li role="presentation" class="active"><a href="#recent-posts" aria-controls="recent-posts" role="tab" data-toggle="tab"><?php echo i18n("Recent_posts");?></a></li>
|
|
|
<?php if (config('views.counter') === 'true') :?>
|
|
|
<?php if (config('views.counter') === 'true') :?>
|
|
|
<li role="presentation"><a href="#popular-posts" aria-controls="popular-posts" role="tab" data-toggle="tab">Popular Posts</a></li> |
|
|
|
|
|
|
|
|
<li role="presentation"><a href="#popular-posts" aria-controls="popular-posts" role="tab" data-toggle="tab"><?php echo i18n("Popular_posts");?></a></li>
|
|
|
<?php endif;?>
|
|
|
<?php endif;?>
|
|
|
</ul> |
|
|
</ul> |
|
|
<!-- Tab content --> |
|
|
<!-- Tab content --> |
|
|
<div class="tab-content"> |
|
|
<div class="tab-content"> |
|
|
<div role="tabpanel" class="tab-pane active" id="recent-posts"> |
|
|
<div role="tabpanel" class="tab-pane active" id="recent-posts"> |
|
|
<h2 class="hide">Recent Posts</h2> |
|
|
|
|
|
|
|
|
<h2 class="hide"><?php echo i18n("Recent_Posts");?></h2>
|
|
|
<?php $lists = recent_posts(true);?>
|
|
|
<?php $lists = recent_posts(true);?>
|
|
|
<?php $char = 60;?>
|
|
|
<?php $char = 60;?>
|
|
|
<?php foreach ($lists as $l):?>
|
|
|
<?php foreach ($lists as $l):?>
|
|
|
@ -117,14 +117,14 @@ |
|
|
<h3 class="title"><a href="<?php echo $l->url;?>"><?php echo $recentTitle;?></a></h3>
|
|
|
<h3 class="title"><a href="<?php echo $l->url;?>"><?php echo $recentTitle;?></a></h3>
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<p><?php echo shorten($l->body, 75); ?>...</p>
|
|
|
<p><?php echo shorten($l->body, 75); ?>...</p>
|
|
|
<a class="more-link" href="<?php echo $l->url;?>"><i class="fa fa-link"></i> Read more</a> |
|
|
|
|
|
|
|
|
<a class="more-link" href="<?php echo $l->url;?>"><i class="fa fa-link"></i> <?php echo i18n("read_more");?></a>
|
|
|
</div><!--//content--> |
|
|
</div><!--//content--> |
|
|
</div> |
|
|
</div> |
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
</div> |
|
|
</div> |
|
|
<?php if (config('views.counter') === 'true') :?>
|
|
|
<?php if (config('views.counter') === 'true') :?>
|
|
|
<div role="tabpanel" class="tab-pane" id="popular-posts"> |
|
|
<div role="tabpanel" class="tab-pane" id="popular-posts"> |
|
|
<h2 class="hide">Popular Posts</h2> |
|
|
|
|
|
|
|
|
<h2 class="hide"><?php echo i18n("Popular_posts");?></h2>
|
|
|
<?php $lists = popular_posts(true);?>
|
|
|
<?php $lists = popular_posts(true);?>
|
|
|
<?php $char = 60;?>
|
|
|
<?php $char = 60;?>
|
|
|
<?php foreach ($lists as $l):?>
|
|
|
<?php foreach ($lists as $l):?>
|
|
|
@ -133,7 +133,7 @@ |
|
|
<h3 class="title"><a href="<?php echo $l->url;?>"><?php echo $recentTitle;?></a></h3>
|
|
|
<h3 class="title"><a href="<?php echo $l->url;?>"><?php echo $recentTitle;?></a></h3>
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<p><?php echo shorten($l->body, 75); ?>...</p>
|
|
|
<p><?php echo shorten($l->body, 75); ?>...</p>
|
|
|
<a class="more-link" href="<?php echo $l->url;?>"><i class="fa fa-link"></i> Read more</a> |
|
|
|
|
|
|
|
|
<a class="more-link" href="<?php echo $l->url;?>"><i class="fa fa-link"></i> <?php echo i18n("read_more");?></a>
|
|
|
</div><!--//content--> |
|
|
</div><!--//content--> |
|
|
</div> |
|
|
</div> |
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
@ -145,7 +145,7 @@ |
|
|
<?php if (disqus()): ?>
|
|
|
<?php if (disqus()): ?>
|
|
|
<aside class="comments aside section"> |
|
|
<aside class="comments aside section"> |
|
|
<div class="section-inner"> |
|
|
<div class="section-inner"> |
|
|
<h2 class="heading">Comments</h2> |
|
|
|
|
|
|
|
|
<h2 class="heading"><?php echo i18n("Comments");?></h2>
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<?php echo recent_comments() ?>
|
|
|
<?php echo recent_comments() ?>
|
|
|
<style>.dsq-widget-list {padding:0;}li.dsq-widget-item {color:#434343;border-bottom: 1px dotted #d9d9d9;margin: 0 0 10px;padding-bottom: 10px;font-size:14px;}li.dsq-widget-item:last-child{border-bottom:none;margin-bottom:0;}a.dsq-widget-user {font-weight:normal;}img.dsq-widget-avatar {margin-right:10px; }.dsq-widget-comment {display:block;padding-top:5px;}.dsq-widget-comment p {display:block;margin:0;padding:0!important;font-size:14px!important;}p.dsq-widget-meta {padding-top:5px!important;margin:0;font-size:14px!important;}#dsq-combo-widget.grey #dsq-combo-content .dsq-combo-box {background: transparent;}#dsq-combo-widget.grey #dsq-combo-tabs li {background: #DDDDDD;}</style>
|
|
|
<style>.dsq-widget-list {padding:0;}li.dsq-widget-item {color:#434343;border-bottom: 1px dotted #d9d9d9;margin: 0 0 10px;padding-bottom: 10px;font-size:14px;}li.dsq-widget-item:last-child{border-bottom:none;margin-bottom:0;}a.dsq-widget-user {font-weight:normal;}img.dsq-widget-avatar {margin-right:10px; }.dsq-widget-comment {display:block;padding-top:5px;}.dsq-widget-comment p {display:block;margin:0;padding:0!important;font-size:14px!important;}p.dsq-widget-meta {padding-top:5px!important;margin:0;font-size:14px!important;}#dsq-combo-widget.grey #dsq-combo-content .dsq-combo-box {background: transparent;}#dsq-combo-widget.grey #dsq-combo-tabs li {background: #DDDDDD;}</style>
|
|
|
@ -155,7 +155,7 @@ |
|
|
<?php endif; ?>
|
|
|
<?php endif; ?>
|
|
|
<aside class="archive aside section"> |
|
|
<aside class="archive aside section"> |
|
|
<div class="section-inner"> |
|
|
<div class="section-inner"> |
|
|
<h2 class="heading">Archive</h2> |
|
|
|
|
|
|
|
|
<h2 class="heading"><?php echo i18n("Archives");?></h2>
|
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<?php echo archive_list();?>
|
|
|
<?php echo archive_list();?>
|
|
|
</div><!--//content--> |
|
|
</div><!--//content--> |
|
|
|