Skip to content

AO3-7410 Fix the inconsistency in the site name on the page title for works and series#5766

Open
CelineB-sudo wants to merge 2 commits intootwcode:masterfrom
CelineB-sudo:AO3-7410
Open

AO3-7410 Fix the inconsistency in the site name on the page title for works and series#5766
CelineB-sudo wants to merge 2 commits intootwcode:masterfrom
CelineB-sudo:AO3-7410

Conversation

@CelineB-sudo
Copy link
Copy Markdown
Contributor

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-7410

Purpose

What does this PR do?
It resolves the inconsistency in the page titles for works and series. The browser page title had the site name formatted as "[App Name]," but every other page uses the format "| App Name."
Now, all pages use the format “| App Name”.

The tests have been updated to reflect the changes.

Credit

What name and pronouns should we use to credit you in the Archive of Our Own's Release Notes?
Céline Bertaud (she/her)

@CelineB-sudo CelineB-sudo marked this pull request as ready for review April 28, 2026 19:32
Copy link
Copy Markdown
Member

@marcus8448 marcus8448 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

end

page_title += " [#{ArchiveConfig.APP_NAME}]" unless options[:omit_archive_name]
page_title += " | #{ArchiveConfig.APP_NAME}" unless options[:omit_archive_name]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a bit nicer to stop appending the app name altogether in this function, and instead update all of its uses to set @page_subtitle instead of @page_title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants