Skip to content

Commit

Permalink
Remove more title suffixes in template
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 25, 2024
1 parent ebcc220 commit b3bf54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/sitemap_search/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{{ tnaCard({
'headingLevel': 2,
'headingSize': 'm',
'title': result.title.replace(', Author at The National Archives blog', '').replace(' - The National Archives blog', '').replace(' - The National Archives', ''),
'title': result.title.replace(', Author at The National Archives blog', '').replace(' - The National Archives blog', '').replace(' - The National Archives Design System', '').replace(' - The National Archives', ''),
'href': result.url,
'body': ('<p>' + result.description + '</p>' if result.description else '') + '<p><small>' + result.url + '</small></p>',
'fullAreaClick': True,
Expand Down

0 comments on commit b3bf54c

Please sign in to comment.