diff --git a/web/astro.config.mjs b/web/astro.config.mjs index 8965ba23..77642022 100644 --- a/web/astro.config.mjs +++ b/web/astro.config.mjs @@ -27,6 +27,7 @@ export default defineConfig({ }, components: { // Override some default components + PageTitle: './src/overrides/PageTitle.astro', Pagination: './src/overrides/Pagination.astro', }, customCss: [ './src/styles/custom.css' ], diff --git a/web/src/overrides/PageTitle.astro b/web/src/overrides/PageTitle.astro new file mode 100644 index 00000000..4ee4178d --- /dev/null +++ b/web/src/overrides/PageTitle.astro @@ -0,0 +1,97 @@ +--- +import { functionTypePrettyName } from '@src/utils/functions'; +--- +
Type: {funcTypePretty}
- - {funcPair && ( -Pair: { funcPair }
- )} - -
- Pair: { funcPair }
+ )} + + +
+