Skip to content

Commit

Permalink
Merge pull request #2767 from mashehu/fix-modules-title
Browse files Browse the repository at this point in the history
fix title on module pages
  • Loading branch information
mashehu authored Oct 7, 2024
2 parents 378d897 + 19247b2 commit 7414723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/main-site/src/layouts/ComponentPageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface Props {
const { name, description, type, topics } = Astro.props;
const suffix = type === 'modules' ? name.replace('_', '/') : name;
const gh_url = 'https://github.com/nf-core/modules/tree/master/' + type + '/nf-core/' + suffix;
const title = type === 'modules' ? 'type/<wbr>' : '' + name.replaceAll('_', '_<wbr>');
const title = (type === 'modules' ? 'modules/<wbr>' : '') + name.replaceAll('_', '_<wbr>');
---

<PageLayout
Expand Down

0 comments on commit 7414723

Please sign in to comment.