Skip to content

Commit fc72b75

Browse files
authored
fix: Fix rubocop offenses (#518)
Merge pull request 518
1 parent 1fa67df commit fc72b75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/jekyll-seo-tag/drop.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ def page_title
5252
title = format_string(page["title"])
5353
title_category = format_string(page["title_category"])
5454
@page_title = if title && title_category && title != title_category
55-
title + TITLE_SEPARATOR + title_category
56-
else
57-
title || title_category || site_title
58-
end
55+
title + TITLE_SEPARATOR + title_category
56+
else
57+
title || title_category || site_title
58+
end
5959
end
6060

6161
def site_tagline_or_description

0 commit comments

Comments
 (0)