Add (publish date): Change to datetime, show on view, save publishdate properly

add (composer): rss feed
This commit is contained in:
2023-07-31 00:21:18 +08:00
parent 3812976c0f
commit ad384c5fc2
44 changed files with 440 additions and 156 deletions

View File

@@ -5,23 +5,23 @@
<!-- Page title -->
<div class="page-header d-print-none">
<h2 class="page-title text-center justify-content-center">
<div class="align-self-center">
@if (!is_null($post))
Edit Post
@else
New Post
@endif
</div>
<div class="align-self-center">
@if (!is_null($post))
Edit Post
@else
New Post
@endif
</div>
</h2>
</div>
</div>
<div class="page-body">
<div class="container-xl">
@if (!is_null($post))
<post-editor :post-id="{{ $post->id }}"></post-editor>
@else
<post-editor></post-editor>
@endif
@if (!is_null($post))
<post-editor :post-id="{{ $post->id }}"></post-editor>
@else
<post-editor timezone="{{ session()->get('timezone') }}"></post-editor>
@endif
</div>
</div>
@endsection