Skip to content

Commit

Permalink
fixed: title in main template
Browse files Browse the repository at this point in the history
  • Loading branch information
d4s6 committed Nov 8, 2019
1 parent 4001a8f commit e4c5179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genug_user/template/main.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function genug_helper_categoryTitle(\genug\Page\Category $pageCat) {
<html>
<head>
<meta charset="utf-8">
<title><?= g::requestedPage()->title()?><?php if (g::requestedPage()->category() !== g::mainCategory()) echo ' - ' . genug_helper_categoryTitle(g::requestedPage()->category()) ?> | <?= SITE_TITLE ?></title>
<title><?= g::requestedPage()->title()?><?php if ((string) g::requestedPage()->category() !== (string) g::mainCategory()->id()) echo ' - ' . genug_helper_categoryTitle(g::requestedPage()->category()) ?> | <?= SITE_TITLE ?></title>
<link
rel="stylesheet"
href="/asset/css/style.css" />
Expand Down

0 comments on commit e4c5179

Please sign in to comment.