Skip to content

Commit

Permalink
Simplify for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
andypeters committed Mar 28, 2024
1 parent c292a41 commit 11efd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bridgetown-seo-tag/drop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def site_tagline_or_description
def title
@title ||= if site_title && page_title != site_title &&
!format_string(page_title).start_with?(site_title + TAGLINE_SEPARATOR)
page_title + TITLE_SEPARATOR + site_title
page_title
else
page_title || site_title
end
Expand Down

0 comments on commit 11efd02

Please sign in to comment.