>
Basic Information & Blog Selection
CMS will automatically fetch the 3 latest posts if no specific blog is selected.

Select blog posts to prioritize on the home page. If none are selected, the system will use the 3 latest posts.

<% if (allBlogs && allBlogs.length> 0) { %> <% allBlogs.forEach(blog=> { const isSelected = data.blogPreview?.selectedBlogIds && data.blogPreview.selectedBlogIds.some(id => id.toString() === blog._id.toString()); %>
onclick="event.stopPropagation(); handleCheckboxChange(this)">
<%= blog.title %>

<%= blog.publishedAt ? new Date(blog.publishedAt).toLocaleDateString('vi-VN') : '' %>

<% }) %> <% } else { %>

No published blogs found. Please create some blogs first.

Create Blog
<% } %>
CTA Button