mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:01:42 +08:00
feat: add edit post feature in blog posts (#384)
* feat: add edit post feature * fix: remove edit button except on post detail pages * docs: update site config docs for editPost Resolves #191 --------- Co-authored-by: satnaing <satnaingdev@gmail.com>
This commit is contained in:
@@ -11,6 +11,11 @@ export const SITE: Site = {
|
||||
postPerIndex: 4,
|
||||
postPerPage: 3,
|
||||
scheduledPostMargin: 15 * 60 * 1000, // 15 minutes
|
||||
editPost: {
|
||||
url: "https://github.com/satnaing/astro-paper/edit/main/src/content/blog",
|
||||
text: "Suggest Changes",
|
||||
appendFilePath: true,
|
||||
},
|
||||
};
|
||||
|
||||
export const LOCALE = {
|
||||
|
||||
Reference in New Issue
Block a user