-
Notifications
You must be signed in to change notification settings - Fork 46
Blog Posts
We are using the Netlify CMS for blog posts. To access the editor, go to https://kodi-tv.netlify.app/admin. (this URL will change to https://kodi.tv/admin once we move everything into production). You will need to login with your GitHub credentials, and only team members who have write access to the kodi-tv repo can add or edit blog posts.
Once you have logged in, you can click the button labeled New Blog in the upper left part of the page. Blog posts have a title, publish date, author (optional), featured image (optional), and body. The featured image can be uploaded when you create the post, or you can use any image that has been used in a blog post before.
You can save posts at any time, and a post must be saved at least one before you can publish it. Once saved, to publish a post you set the status to READY and then select the PUBLISH NOW option from the publish menu. This will generate a series of commits to the main
branch, and that will trigger a site build.
Due to a known issue with the Netlify CMS, blog entries are initially listed in alphabetical order when you load the content manager. Assuming you want to edit a recent post, to get them listed in reverse chronological order, you need to select PUBLISH DATE from the SORT BY menu and then do it again. This first time gives you chronological, and the second time reverses it. It can take a bit to resort all the blog posts, so be patient. Yes I know it's a pain. No, there doesn't appear to be anything we can do about it for now. Once you open an entry, you get the same editor you used to create a post. Once you save it, you again need to set the post status to READY and the use the PUBLISH NOW option in the publish menu.