diff --git a/admin/config.yml b/admin/config.yml new file mode 100644 index 0000000000..156a16cc01 --- /dev/null +++ b/admin/config.yml @@ -0,0 +1,19 @@ +backend: + name: github + repo: hotosm/hotosm-website + branch: gh-pages +media_folder: "_uploads" +public_folder: "uploads" +collections: + - name: "blog" # Used in routes, e.g., /admin/collections/blog + label: "News" # 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: "Layout", name: "layout", widget: "hidden", default: "blog"} + - {label: "Title", name: "title", widget: "string"} + - {label: "Person", name: "Person", widget: "string"} + - {label: "Publish Date", name: "date", widget: "datetime"} + - {label: "Feature Image", name: "thumbnail", widget: "image"} + - {label: "Body", name: "body", widget: "markdown"} diff --git a/admin/index.html b/admin/index.html new file mode 100644 index 0000000000..7216e32cd6 --- /dev/null +++ b/admin/index.html @@ -0,0 +1,12 @@ + + + + + + Content Manager + + + + + +