feat(editors): add editorial features aka the configurable edit link

This commit is contained in:
Benedikt Rötsch
2017-10-18 16:35:53 +02:00
committed by Benedikt Rötsch
parent bf50c66df4
commit 240e008a87
8 changed files with 97 additions and 47 deletions

View File

@@ -3,7 +3,8 @@ mixin moduleCopy(module)
.module
div(class=`module-copy${style}`)
div(class=`module-copy__first${style}`)
h1(class=`module-copy__headline${style}`) #{module.fields.headline}
if module.fields.headline
h1(class=`module-copy__headline${style}`) #{module.fields.headline}
div(class=`module-copy__copy${style}`) !{helpers.markdown(module.fields.copy)}
div(class=`module-copy__second${style}`)
if module.fields.ctaTitle && module.fields.ctaLink