Parcourir la source

fix: skip compilation for page contents

Nick il y a 6 ans
Parent
commit
585f2d0296
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      server/views/page.pug

+ 2 - 1
server/views/page.pug

@@ -35,6 +35,7 @@ block body
             v-divider.my-2
           else if navItem.kind === 'header'
             v-subheader.pl-4= navItem.label
-      template(slot='contents')!= page.render
+      template(slot='contents')
+        div(v-pre)!= page.render
   if injectCode.body
     != injectCode.body