From ab1b5c541efca0341df472ce4cf856d20a61d061 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 27 Feb 2023 18:51:18 +0100 Subject: [PATCH] add static cms --- admin/config.yml | 11 +- admin/index.html | 4 +- admin/static-cms-app.js | 1012 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 1021 insertions(+), 6 deletions(-) create mode 100644 admin/static-cms-app.js diff --git a/admin/config.yml b/admin/config.yml index 48c24ec..bb4241b 100644 --- a/admin/config.yml +++ b/admin/config.yml @@ -1,9 +1,12 @@ backend: - name: github - repo: superboum/quentin.dufour.io - base_url: http://oauth.localhost:3000 + name: gitea + repo: quentin/quentin.dufour.io + base_url: http://teabag.deuxfleurs.fr + api_root: https://git.deuxfleurs.fr/api/v1 + branch: master + media_folder: 'assets/' -publish_mode: editorial_workflow +#publish_mode: editorial_workflow site_url: https://quentin.dufour.io display_url: https://quentin.dufour.io locale: 'fr' diff --git a/admin/index.html b/admin/index.html index dac0136..b914f88 100644 --- a/admin/index.html +++ b/admin/index.html @@ -5,10 +5,10 @@ Content Manager - - + + diff --git a/admin/static-cms-app.js b/admin/static-cms-app.js new file mode 100644 index 0000000..230c3a2 --- /dev/null +++ b/admin/static-cms-app.js @@ -0,0 +1,1012 @@ +/*! For license information please see static-cms-app.js.LICENSE.txt */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.StaticCmsApp=t():e.StaticCmsApp=t()}(globalThis,(()=>(()=>{var __webpack_modules__={936:(e,t,n)=>{"use strict";var r=n(204),i=n(489);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n