mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
Improvements
This commit is contained in:
parent
e6e8a12b90
commit
c4f424ad4f
17 changed files with 33 additions and 28 deletions
|
|
@ -1229,7 +1229,7 @@ get('/tag/:tag', function ($tag) {
|
|||
render('main', array(
|
||||
'title' => 'Posts tagged: ' . tag_i18n($tag) . ' - ' . blog_title(),
|
||||
'description' => 'All posts tagged: ' . tag_i18n($tag) . ' on ' . blog_title() . '.',
|
||||
'canonical' => site_url() . 'tag/' . $tag,
|
||||
'canonical' => site_url() . 'tag/' . strtolower($tag),
|
||||
'page' => $page,
|
||||
'posts' => $posts,
|
||||
'bodyclass' => 'intag',
|
||||
|
|
@ -1312,7 +1312,7 @@ get('/search/:keyword', function ($keyword) {
|
|||
render('main', array(
|
||||
'title' => 'Search results for: ' . tag_i18n($keyword) . ' - ' . blog_title(),
|
||||
'description' => 'Search results for: ' . tag_i18n($keyword) . ' on ' . blog_title() . '.',
|
||||
'canonical' => site_url() . 'search/' . $keyword,
|
||||
'canonical' => site_url() . 'search/' . strtolower($keyword),
|
||||
'page' => $page,
|
||||
'posts' => $posts,
|
||||
'bodyclass' => 'insearch',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue