Skip to content

Commit 35140f0

Browse files
CodeSandwichmattr-
andauthored
Update lib/jekyll-seo-tag/drop.rb
Co-authored-by: Matt Rogers <mattr-@github.com>
1 parent 731e59d commit 35140f0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/jekyll-seo-tag/drop.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ def page_title
5151

5252
title = format_string(page["title"])
5353
title_category = format_string(page["title_category"])
54-
if title && title_category && title != title_category
55-
@page_title = title + TITLE_SEPARATOR + title_category
54+
@page_title = if title && title_category && title != title_category
55+
title + TITLE_SEPARATOR + title_category
5656
else
57-
@page_title = title || title_category || site_title
57+
title || title_category || site_title
5858
end
5959
end
6060

0 commit comments

Comments
 (0)