From 1d5f2220cf88a47a9731e18936450ab28640b753 Mon Sep 17 00:00:00 2001 From: Julien Taquet <julientaq@mac16.local> Date: Thu, 20 Jul 2023 21:50:25 +0200 Subject: [PATCH] update backend --- src/blog/posts/2023-03-25-coko-eu.md | 23 +++++++++++++++-------- static/admin/config.yml | 24 ++++++++++++++---------- 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/src/blog/posts/2023-03-25-coko-eu.md b/src/blog/posts/2023-03-25-coko-eu.md index 970bc7d..4876063 100644 --- a/src/blog/posts/2023-03-25-coko-eu.md +++ b/src/blog/posts/2023-03-25-coko-eu.md @@ -1,7 +1,7 @@ --- +published: true title: Coko EU date: 2023-03-25 -published: true intro: |- \ We have just opened a Coko not-for-profit branch in France. @@ -10,11 +10,18 @@ video: "" icon: /static/images/uploads/coko-eu-stars.png image: /static/images/uploads/coko-eu-stars.png --- -\ -Coko already has a lot of activity in Europe, with many EU based partners and the original development team coming from Greece and Slovenia. However the new French based organisation allows us to have a European administrative base for Coko operations.\ -\ -Coko Founder Adam Hyde is the president of the new branch and Coko advisory board member Charles Henri Schulz the vice president.\ -\ -Coko will retain the US organisation fiscally sponsored by Aspiration for almost all of its current operations. The new branch in France will be for some new projects, particularly centred around the development of the Kotahi and CokoDocs products.\ -\ + + +Coko already has a lot of activity in Europe, with many EU based partners and the original development team coming from Greece and Slovenia. However the new French based organisation allows us to have a European administrative base for Coko operations. + + + +Coko Founder Adam Hyde is the president of the new branch and Coko advisory board member Charles Henri Schulz the vice president. + + + +Coko will retain the US organisation fiscally sponsored by Aspiration for almost all of its current operations. The new branch in France will be for some new projects, particularly centred around the development of the Kotahi and CokoDocs products. + + + Many thanks to Laurent Sakka for helping us set up our Coko France organisation! diff --git a/static/admin/config.yml b/static/admin/config.yml index 6923054..e7d7955 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -12,30 +12,34 @@ backend: base_url: https://gitlab.coko.foundation auth_endpoint: oauth/authorize site_domain: https://coko.foundation/ - - # name: git-gateway # local_backend: true # for local update -# publish_mode: editorial_workflow #remove editorial workflow as its in beta for gitlab +editor: + preview: true media_folder: "static/images/uploads" # Media files will be stored in the repo under images/uploads collections: - name: "blog" - label: "Blog" # Used in the UI + label: "Blog entry" # Used in the UI folder: "src/blog/posts/" # The path to the folder where the documents are stored slug: "{{year}}-{{month}}-{{day}}-{{slug}}" create: true - fields: - - label: "Date" - name: "date" - widget: "datetime" - format: "yyyy-MM-dd" + sortable_fields: + fields: ["date", "title"] + default: + field: date + direction: Ascendingd + fields: - label: "published" name: "published" widget: "boolean" required: true - default: true + default: false - label: "Title" name: "title" widget: "string" + - label: "Date" + name: "date" + widget: "datetime" + format: "yyyy-MM-dd" - label: "Intro" required: false name: "intro" -- GitLab