diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 0000000..8073fd8 --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,17 @@ +backend: + name: github + repo: BradNut/sapper-lut-site +publish_mode: editorial_workflow +media_folder: static/uploads +public_folder: /uploads + +collections: + - name: "posts" + label: "Posts" + folder: "src/posts" + create: true + slug: "{{slug}}" + fields: + - { label: "Title", name: "title", widget: "string" } + - { label: "Date", name: "date", widget: "datetime" } + - { label: "Body", name: "body", widget: "markdown" } diff --git a/static/admin/index.html b/static/admin/index.html new file mode 100644 index 0000000..aaed95a --- /dev/null +++ b/static/admin/index.html @@ -0,0 +1,12 @@ + + + + + + Content Manager + + + + + + \ No newline at end of file