diff --git a/.gitignore b/.gitignore index 8eca655..925098e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /plugins/ +!/plugins/ !/plugins/cache-on-save/ /data/ diff --git a/config/system.yaml b/config/system.yaml index a63d8ec..e0d3038 100644 --- a/config/system.yaml +++ b/config/system.yaml @@ -210,7 +210,7 @@ session: domain: null path: null gpm: - releases: stable + releases: testing official_gpm_only: true http: method: curl diff --git a/plugins/cache-on-save/blueprints.yaml b/plugins/cache-on-save/blueprints.yaml new file mode 100644 index 0000000..a21086b --- /dev/null +++ b/plugins/cache-on-save/blueprints.yaml @@ -0,0 +1,13 @@ +name: Cache On Save +version: 1.0.0 +description: Clears Grav cache on new-entry form submission +author: + name: Mischa + email: mischa@gorinskat.nl +license: MIT + +dependencies: + - { name: grav, version: '>=1.6.0' } + +grav: + version: ['1.7', '2.0']