Update (config): enable canonical
Update (migration): Add category type Add (admin): Add post cliffhanger
This commit is contained in:
@@ -17,6 +17,24 @@
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<div class="form-floating mb-3">
|
||||
<textarea
|
||||
v-model="post.cliffhanger"
|
||||
class="form-control"
|
||||
style="min-height: 150px"
|
||||
placeholder="Enter a post cliffhanger"
|
||||
></textarea>
|
||||
<label>Write a post cliffhanger (optional)</label>
|
||||
<div class="alert mt-1">
|
||||
Cliffhanger examples: "<i
|
||||
>Can Alpinestars Tech-Air redefine motorcycle safety? Find out
|
||||
now.</i
|
||||
>" or "<i
|
||||
>Are they worth the hype? Stay tuned for our in-depth review."</i
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-floating mb-3">
|
||||
<textarea
|
||||
v-model="post.excerpt"
|
||||
@@ -222,8 +240,9 @@ export default {
|
||||
title: "",
|
||||
slug: "",
|
||||
excerpt: "",
|
||||
cliffhanger: "",
|
||||
author_id: null,
|
||||
featured: false,
|
||||
featured: true,
|
||||
publish_date: null,
|
||||
featured_image: null,
|
||||
body: {
|
||||
@@ -592,6 +611,7 @@ export default {
|
||||
tmp.slug = post.slug;
|
||||
tmp.publish_date = post.publish_date;
|
||||
tmp.excerpt = post.excerpt;
|
||||
tmp.cliffhanger = post.cliffhanger;
|
||||
tmp.author_id = post.author_id;
|
||||
tmp.featured = post.featured;
|
||||
tmp.featured_image = post.featured_image;
|
||||
|
||||
Reference in New Issue
Block a user