We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 731e59d commit 35140f0Copy full SHA for 35140f0
1 file changed
lib/jekyll-seo-tag/drop.rb
@@ -51,10 +51,10 @@ def page_title
51
52
title = format_string(page["title"])
53
title_category = format_string(page["title_category"])
54
- if title && title_category && title != title_category
55
- @page_title = title + TITLE_SEPARATOR + title_category
+ @page_title = if title && title_category && title != title_category
+ title + TITLE_SEPARATOR + title_category
56
else
57
- @page_title = title || title_category || site_title
+ title || title_category || site_title
58
end
59
60
0 commit comments