@ -10,10 +10,10 @@ block main-content
-var post_status = ['false', 'false', 'false',]
-var post_status = ['false', 'false', 'false',]
if(edit)
if(edit)
-post_title = post .title
-post_title = page .title
-post_plaintext = post .plaintext
-post_plaintext = page .plaintext
-post_feature = feature
-post_feature = page. feature
-post_tags = post .tags
-post_tags = page .tags
-post_date = date
-post_date = date
-post_status = status
-post_status = status
@ -32,7 +32,7 @@ block main-content
#featured-new-image-btn
#featured-new-image-btn
button#new-feature-upload
button#new-feature-upload
svg#new-feature-upload(viewBox="0 0 20 20" class="icons")
svg#new-feature-upload(viewBox="0 0 20 20" class="icons")
use(xlink:href='/dash/ assets/images/sprite.svg#entypo-image-inverted')
use(xlink:href='/assets/images/global /sprite.svg#entypo-image-inverted')
#featured-image-drop
#featured-image-drop
img(src=post_feature)
img(src=post_feature)
#post-header.columns
#post-header.columns
@ -41,21 +41,21 @@ block main-content
=post_title
=post_title
#calendar-icon
#calendar-icon
svg(viewBox="0 0 20 20" class="icons")
svg(viewBox="0 0 20 20" class="icons")
use(xlink:href='/dash/ assets/images/sprite.svg#entypo-calendar')
use(xlink:href='/assets/images/global /sprite.svg#entypo-calendar')
input(id="post-date" type="text" value=post_date)
input(id="post-date" type="text" value=post_date)
#post-options
#post-options
button#option-page.option-inactive.post-option-btn(data-active= status[0])
button#option-page.option-inactive.post-option-btn(data-active= status[0])
svg#option-page-icon(viewBox="0 0 20 20" class="icons")
svg#option-page-icon(viewBox="0 0 20 20" class="icons")
use#option-page-icon(xlink:href='/dash/ assets/images/sprite.svg#entypo-pin')
use#option-page-icon(xlink:href='/assets/images/global /sprite.svg#entypo-pin')
button#option-feature.option-inactive.post-option-btn(data-active= status[1])
button#option-feature.option-inactive.post-option-btn(data-active= status[1])
svg#option-feature-icon(viewBox="0 0 20 20" class="icons")
svg#option-feature-icon(viewBox="0 0 20 20" class="icons")
use#option-feature-icon(xlink:href='/dash/ assets/images/sprite.svg#entypo-star')
use#option-feature-icon(xlink:href='/assets/images/global /sprite.svg#entypo-star')
button#option-published.option-inactive.post-option-btn(data-active= status[2])
button#option-published.option-inactive.post-option-btn(data-active= status[2])
svg#option-published-icon(viewBox="0 0 20 20" class="icons")
svg#option-published-icon(viewBox="0 0 20 20" class="icons")
use#option-published-icon(xlink:href='/dash/ assets/images/sprite.svg#entypo-globe')
use#option-published-icon(xlink:href='/assets/images/global /sprite.svg#entypo-globe')
button#option-preview.option-inactive(data-active="false")
button#option-preview.option-inactive(data-active="false")
svg#option-preview-icon(viewBox="0 0 20 20" class="icons")
svg#option-preview-icon(viewBox="0 0 20 20" class="icons")
use#option-preview-icon(xlink:href='/dash/ assets/images/sprite.svg#entypo-eye')
use#option-preview-icon(xlink:href='/assets/images/global /sprite.svg#entypo-eye')
#post-meta.column
#post-meta.column
textarea(id='post_tags' type='text', name='post_tags' class='form-control', placeholder='tags [comma seperated]', autofocus)
textarea(id='post_tags' type='text', name='post_tags' class='form-control', placeholder='tags [comma seperated]', autofocus)
=post_tags
=post_tags