diff --git a/static/admin/config.yml b/static/admin/config.yml new file mode 100644 index 00000000..8fdcdffa --- /dev/null +++ b/static/admin/config.yml @@ -0,0 +1,19 @@ +backend: + name: github + repo: eesev9ie/gcg-website + branch: master + site_domain: eesev9ie.netlify.app + +media_folder: "static/images" + +collections: + - name: "blog" # Used in routes, e.g., /admin/collections/blog + label: "Blog" # Used in the UI + folder: "_posts/" # The path to the folder where the documents are stored + create: true # Allow users to create new documents in this collection + slug: "{{year}}-{{month}}-{{day}}-{{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: "Tags", name: "tags", widget: "list"} + - {label: "Body", name: "body", widget: "markdown"} diff --git a/static/admin/index.html b/static/admin/index.html new file mode 100644 index 00000000..7216e32c --- /dev/null +++ b/static/admin/index.html @@ -0,0 +1,12 @@ + + + + + + Content Manager + + + + + +