diff --git a/.gitignore b/.gitignore index 88cdbc8..8cec5d8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ *.log node_modules/ -public/ \ No newline at end of file +pages/ \ No newline at end of file diff --git a/.vuepress/public/admin/config.yml b/.vuepress/public/admin/config.yml new file mode 100644 index 0000000..175d021 --- /dev/null +++ b/.vuepress/public/admin/config.yml @@ -0,0 +1,19 @@ +backend: + name: git-gateway + branch: master # Branch to update (master by default) + +media_folder: "media" # Folder where user uploaded files should go + +# This line should *not* be indented +publish_mode: editorial_workflow + +collections: + - name: "Post" # Used in routes, e.g., /admin/collections/blog + label: "Post" # Used in the UI + folder: "/" # The path to the folder where the documents are stored + create: true # Allow users to create new documents in this collection + slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md + fields: # The fields for each document, usually in front matter + - {label: "Title", name: "title", widget: "string"} + - {label: "Publish Date", name: "date", widget: "datetime"} + - {label: "Body", name: "body", widget: "markdown"} \ No newline at end of file diff --git a/.vuepress/public/admin/index.html b/.vuepress/public/admin/index.html new file mode 100644 index 0000000..05e4caa --- /dev/null +++ b/.vuepress/public/admin/index.html @@ -0,0 +1,21 @@ + + + +
+ + +