feat: theme code injection

This commit is contained in:
Nicolas Giard
2019-01-25 21:29:34 -05:00
committed by Nick
parent ded1cf6261
commit faa1f389d9
9 changed files with 94 additions and 276 deletions

View File

@@ -1,6 +1,10 @@
extends master.pug
block head
if injectCode.css
style(type='text/css')!= injectCode.css
if injectCode.head
!= injectCode.head
block body
#root
@@ -31,3 +35,5 @@ block body
else if navItem.kind === 'header'
v-subheader.pl-4= navItem.label
template(slot='contents')!= page.render
if injectCode.body
!= injectCode.body