Asciidoc rendering in backend
This commit is contained in:
@ -19,7 +19,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
|
||||
|
||||
if (!contentEntry) return { notFound: true };
|
||||
|
||||
const contentHtml = await generateContent(contentEntry);
|
||||
const contentHtml = await generateContent(contentEntry) as string;
|
||||
const contentPrepared = prepareDOM(contentHtml);
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user