Skip to content

Commit

Permalink
render using code_template if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
benlife5 committed Nov 11, 2024
1 parent 818694a commit 5632353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default async (
manifest: Manifest
): Promise<GeneratedPage | GeneratedRedirect> => {
const projectStructure = new ProjectStructure(manifest.projectStructure);
const feature = props.document.__.name;
const feature = props.document.__.code_template ?? props.document.__.name;

const template = await readTemplateModules(
feature,
Expand Down

0 comments on commit 5632353

Please sign in to comment.