You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add link to manage blogs on setup page that should reside on <root>/blogs/manage
Manage Blog page will list blogs in a nice UI with edit, delete and add options.
Use Tools like suneditor-react to allow user to format the content with rich text and view it.
Allow Image(only) upload for GhPages, Allow use of image Url for others.
Getting contents
Get content from editor as plain text.
Encode text content.
Store in json object
Reference file format
{
"1": "blog1.json",
"2": "blog2.json"
}
Blog file format
{
"title": "This is a blog",
"date": "2020-12-22",
"categories": [
"blog",
"test"
],
"keywords":[
"how to write a blog in personal-website-cms",
"CMS",
"blog"
]
"content": "This is encoded blog content"
}
Side nodes
Only show blogs in website side panel if there is at least one blog.
Write proper config info for blog related components.
Add sitemap generator for blogs.
Add all appropriate Meta info for blog pages.
For GH-Page
Store each uploaded images for blog in /data/blogs/images/<name>.<ext>
Store each blog in /data/blogs/<name>.json
Store reference in /data/blogs/ref.json
For others
Allow Downloading all three
The text was updated successfully, but these errors were encountered:
<root>/blogs
<root>/blogs/manage
Getting contents
Reference file format
Blog file format
Side nodes
For GH-Page
/data/blogs/images/<name>.<ext>
/data/blogs/<name>.json
/data/blogs/ref.json
For others
The text was updated successfully, but these errors were encountered: