mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Core should not overriden user preference
Core should not overriden user preference.
This commit is contained in:
parent
8d4e2abf72
commit
231b0ab32f
2 changed files with 5 additions and 5 deletions
|
|
@ -59,13 +59,13 @@ get('/tag/:tag',function($tag){
|
||||||
}
|
}
|
||||||
|
|
||||||
render('main',array(
|
render('main',array(
|
||||||
'title' => 'Tag - ' . ucfirst($tag) .' - ' . config('blog.title'),
|
'title' => 'Tag - ' . $tag .' - ' . config('blog.title'),
|
||||||
'page' => $page,
|
'page' => $page,
|
||||||
'posts' => $posts,
|
'posts' => $posts,
|
||||||
'canonical' => config('site.url') . '/tag/' . $tag,
|
'canonical' => config('site.url') . '/tag/' . $tag,
|
||||||
'description' => 'All posts tagged ' . ucfirst($tag) . ' on '. config('blog.title') . '.',
|
'description' => 'All posts tagged ' . $tag . ' on '. config('blog.title') . '.',
|
||||||
'bodyclass' => 'intag',
|
'bodyclass' => 'intag',
|
||||||
'breadcrumb' => '<a href="' . config('site.url') . '">Home</a> » Posts tagged ' . ucfirst($tag),
|
'breadcrumb' => '<a href="' . config('site.url') . '">Home</a> » Posts tagged ' . $tag,
|
||||||
'pagination' => has_pagination($total, $perpage, $page)
|
'pagination' => has_pagination($total, $perpage, $page)
|
||||||
));
|
));
|
||||||
});
|
});
|
||||||
|
|
@ -150,7 +150,7 @@ get('/:year/:month/:name', function($year, $month, $name){
|
||||||
'canonical' => $current->url,
|
'canonical' => $current->url,
|
||||||
'description' => $description = get_description($current->body),
|
'description' => $description = get_description($current->body),
|
||||||
'bodyclass' => 'inpost',
|
'bodyclass' => 'inpost',
|
||||||
'breadcrumb' => '<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="' . config('site.url') . '">Home</a></span> » <span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="' . $current->tagurl .'">' . ucfirst($current->tag) . '</a></span> » ' . $current->title,
|
'breadcrumb' => '<span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="' . config('site.url') . '">Home</a></span> » <span typeof="v:Breadcrumb"><a property="v:title" rel="v:url" href="' . $current->tagurl .'">' . $current->tag . '</a></span> » ' . $current->title,
|
||||||
'prev' => has_prev($prev),
|
'prev' => has_prev($prev),
|
||||||
'next' => has_next($next),
|
'next' => has_next($next),
|
||||||
'type' => 'blogpost',
|
'type' => 'blogpost',
|
||||||
|
|
|
||||||
|
|
@ -750,7 +750,7 @@ function social(){
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($google)) {
|
if (!empty($google)) {
|
||||||
echo '<a href="' . $google . '" target="_blank" rel="author"><img src="' . site_url() . 'themes/default/img/googleplus.png" width="32" height="32" alt="Google+"/></a>';
|
echo '<a href="' . $google . '" target="_blank"><img src="' . site_url() . 'themes/default/img/googleplus.png" width="32" height="32" alt="Google+"/></a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($tumblr)) {
|
if (!empty($tumblr)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue