diff --git a/automad/blocks/dist/blocks.min.css b/automad/blocks/dist/blocks.min.css index 359a2ff5e..fd10ed78c 100644 --- a/automad/blocks/dist/blocks.min.css +++ b/automad/blocks/dist/blocks.min.css @@ -26,7 +26,7 @@ * * AUTOMAD * - * version 1.8.4 + * version 1.8.5 * * Copyright (c) 2014-2021 by Marc Anton Dahmen * https://marcdahmen.de diff --git a/automad/blocks/dist/blocks.min.js b/automad/blocks/dist/blocks.min.js index 14852c82d..a5d90b68c 100644 --- a/automad/blocks/dist/blocks.min.js +++ b/automad/blocks/dist/blocks.min.js @@ -26,7 +26,7 @@ * * AUTOMAD * - * version 1.8.4 + * version 1.8.5 * * Copyright (c) 2014-2021 by Marc Anton Dahmen * https://marcdahmen.de diff --git a/automad/package-lock.json b/automad/package-lock.json index 7fd796daf..1f8dc78fc 100644 --- a/automad/package-lock.json +++ b/automad/package-lock.json @@ -1,6 +1,6 @@ { "name": "automad", - "version": "1.8.4", + "version": "1.8.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/automad/package.json b/automad/package.json index 181779b8f..3cdb21c45 100644 --- a/automad/package.json +++ b/automad/package.json @@ -1,6 +1,6 @@ { "name": "automad", - "version": "1.8.4", + "version": "1.8.5", "description": "Automad", "author": "Marc Anton Dahmen", "license": "MIT", diff --git a/automad/ui/components/layout/pagedata.php b/automad/ui/components/layout/pagedata.php index b68f40255..b394f30b7 100644 --- a/automad/ui/components/layout/pagedata.php +++ b/automad/ui/components/layout/pagedata.php @@ -406,6 +406,10 @@ private function settings() { * @return string the slug input field HTML */ private function slug() { + if ($this->url == '/') { + return ''; + } + $slug = Page::extractSlugFromPath($this->Page->path); return $this->input( diff --git a/automad/ui/dist/automad.min.css b/automad/ui/dist/automad.min.css index 7f33258f8..97af360dc 100644 --- a/automad/ui/dist/automad.min.css +++ b/automad/ui/dist/automad.min.css @@ -26,7 +26,7 @@ * * AUTOMAD * - * version 1.8.4 + * version 1.8.5 * * Copyright (c) 2014-2021 by Marc Anton Dahmen * https://marcdahmen.de diff --git a/automad/ui/dist/automad.min.js b/automad/ui/dist/automad.min.js index 0d2075723..9429456f9 100644 --- a/automad/ui/dist/automad.min.js +++ b/automad/ui/dist/automad.min.js @@ -26,7 +26,7 @@ * * AUTOMAD * - * version 1.8.4 + * version 1.8.5 * * Copyright (c) 2014-2021 by Marc Anton Dahmen * https://marcdahmen.de diff --git a/automad/version.php b/automad/version.php index dbe861377..16c444ee3 100644 --- a/automad/version.php +++ b/automad/version.php @@ -1 +1 @@ - + diff --git a/packages/standard/dark/theme.json b/packages/standard/dark/theme.json index 07e855296..f05548f55 100644 --- a/packages/standard/dark/theme.json +++ b/packages/standard/dark/theme.json @@ -2,7 +2,7 @@ "name": "Dark", "description": "A dark and elegant multi-purpose theme", "author": "Marc Anton Dahmen", - "version": "1.8.4", + "version": "1.8.5", "license": "MIT", "masks": { "page": [ diff --git a/packages/standard/light/theme.json b/packages/standard/light/theme.json index 2de17e70d..3f3977d37 100644 --- a/packages/standard/light/theme.json +++ b/packages/standard/light/theme.json @@ -2,7 +2,7 @@ "name": "Light", "description": "A light and elegant multi-purpose theme", "author": "Marc Anton Dahmen", - "version": "1.8.4", + "version": "1.8.5", "license": "MIT", "masks": { "page": [ diff --git a/packages/standard/package-lock.json b/packages/standard/package-lock.json index 196856358..4d578c26b 100644 --- a/packages/standard/package-lock.json +++ b/packages/standard/package-lock.json @@ -1,6 +1,6 @@ { "name": "standard", - "version": "1.8.4", + "version": "1.8.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/standard/package.json b/packages/standard/package.json index 7881ce6aa..87d6b93cf 100644 --- a/packages/standard/package.json +++ b/packages/standard/package.json @@ -1,6 +1,6 @@ { "name": "standard", - "version": "1.8.4", + "version": "1.8.5", "description": "A standard collection of elegant Automad themes", "main": "gulpfile.js", "private": true,