Syndicate to Day One from Admin pages

This commit is contained in:
2023-06-11 14:25:30 +10:00
parent 0776283aae
commit 15cdd40f75
9 changed files with 89 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ div class="max-w-prose mx-auto" x-data="{ activeTab: 0 }"
small class="text-gray-400 dark:text-gray-600" = post.slug
td
= post.published_at&.strftime("%d %b %Y")
td
a href="/admin/posts/#{post.id}" edit
td
button class="text-red-600" hx-delete="/admin/posts/#{post.id}" hx-target="#post-#{post.id}" delete
td
@@ -34,6 +36,8 @@ div class="max-w-prose mx-auto" x-data="{ activeTab: 0 }"
small class="text-gray-400 dark:text-gray-600" = post.slug
td
= post.published_at&.strftime("%d %b %Y")
td
a href="/admin/posts/#{post.id}" edit
td
button class="text-red-600" hx-delete="/admin/posts/#{post.id}" hx-target="#post-#{post.id}" delete
td