diff --git a/CHANGELOG.md b/CHANGELOG.md
index 65eef8d67..eca9d737e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,6 +27,9 @@
1. [](#new)
- Updated minimum requirement to Grav 1.6 and Admin 1.9
- Grav specific code passes phpstan level 1 tests
+1. [Prime](#grav)
+ 1. [](#new)
+ - Remove unmaintained standalone Prime environment
# 5.4.32
## 01/02/2020
diff --git a/engines/prime/nucleus/templates/module-chrome/gantry.html.twig b/engines/prime/nucleus/templates/module-chrome/gantry.html.twig
deleted file mode 100644
index 624288029..000000000
--- a/engines/prime/nucleus/templates/module-chrome/gantry.html.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-{% set title %}
- {% block title %}{% endblock %}
-{%- endset -%}
-
-
- {% if title|trim %}
-
{{ title|trim }}
- {% endif %}
-
- {% block module %}
- {% endblock %}
-
diff --git a/engines/prime/nucleus/templates/partials/module.html.twig b/engines/prime/nucleus/templates/partials/module.html.twig
deleted file mode 100644
index f43e25a34..000000000
--- a/engines/prime/nucleus/templates/partials/module.html.twig
+++ /dev/null
@@ -1,9 +0,0 @@
-{% extends ['@nucleus/module-chrome/' ~ style ~ '.html.twig', '@nucleus/module-chrome/gantry.html.twig'] %}
-
-{% block title %}
- {{ segment.title }}
-{% endblock %}
-
-{% block module %}
- {% include '@nucleus/content/' ~ segment.type ~ '.html.twig' with { segment: {type: segment.type, subtype: segment.options.type, attributes: segment.options.attributes }} %}
-{% endblock %}
diff --git a/engines/prime/nucleus/twig/page.html.twig b/engines/prime/nucleus/twig/page.html.twig
deleted file mode 100644
index fc57bdfee..000000000
--- a/engines/prime/nucleus/twig/page.html.twig
+++ /dev/null
@@ -1,3 +0,0 @@
-{% extends "@nucleus/page.html.twig" %}
-
-{% do gantry.debugger.addMessage("Gantry 5 Prime") %}
diff --git a/engines/prime/nucleus/twig/partials/page_head.html.twig b/engines/prime/nucleus/twig/partials/page_head.html.twig
deleted file mode 100644
index 1f8fc11e4..000000000
--- a/engines/prime/nucleus/twig/partials/page_head.html.twig
+++ /dev/null
@@ -1,12 +0,0 @@
-{% extends "@nucleus/page_head.html.twig" %}
-
-{% block head_title %}
-
- {{ site.title|e }}
-
-{% endblock %}
-
-{% block head_application %}
- {{ gantry.platform.finalize }}
- {{ parent() }}
-{% endblock %}
\ No newline at end of file
diff --git a/hebe.json b/hebe.json
index 8d8321be7..aa94080d5 100644
--- a/hebe.json
+++ b/hebe.json
@@ -226,112 +226,6 @@
}
]
}
- },
- "prime":{
- "nodes":{
- "debugbar":[
- {
- "source":"/platforms/prime/debugbar",
- "destination":"/debugbar"
- }
- ],
- "admin":[
- {
- "source":"/platforms/prime/admin",
- "destination":"/admin"
- },
- {
- "source":"/platforms/common",
- "destination":"/admin/common"
- }
- ],
- "config":[
- {
- "source":"/platforms/prime/config",
- "destination":"/config"
- }
- ],
- "layouts":[
- {
- "source":"/platforms/prime/layouts",
- "destination":"/layouts"
- }
- ],
- "media":[
- {
- "source":"/platforms/prime/media",
- "destination":"/media"
- }
- ],
- "pages":[
- {
- "source":"/platforms/prime/pages",
- "destination":"/pages"
- }
- ],
- "positions":[
- {
- "source":"/platforms/prime/positions",
- "destination":"/positions"
- }
- ],
- "root":[
- {
- "source":"/engines",
- "destination":"/engines"
- },
- {
- "source":"/assets",
- "destination":"/assets"
- },
- {
- "source":"/src",
- "destination":"/src"
- },
- {
- "source":"/platforms/prime/.htaccess",
- "destination":"/.htaccess"
- },
- {
- "source":"/platforms/prime/index.php",
- "destination":"/index.php"
- }
- ],
- "themes":[
- {
- "source":"/themes/hydrogen/prime",
- "destination":"/themes/hydrogen"
- },
- {
- "source":"/themes/hydrogen/common",
- "destination":"/themes/hydrogen/common"
- },
- {
- "source":"/themes/hydrogen-demo/prime",
- "destination":"/themes/hydrogen-demo"
- },
- {
- "source":"/themes/hydrogen-demo/common",
- "destination":"/themes/hydrogen-demo/common"
- },
- {
- "source":"/themes/helium/prime",
- "destination":"/themes/helium"
- },
- {
- "source":"/themes/helium/common",
- "destination":"/themes/helium/common"
- },
- {
- "source":"/themes/helium-demo/prime",
- "destination":"/themes/helium-demo"
- },
- {
- "source":"/themes/helium-demo/common",
- "destination":"/themes/helium-demo/common"
- }
- ]
- }
}
}
}
diff --git a/platforms/prime/.htaccess b/platforms/prime/.htaccess
deleted file mode 100644
index f9fe6a85e..000000000
--- a/platforms/prime/.htaccess
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-RewriteEngine On
-
-## Begin - Exploits
-# If you experience problems on your site block out the operations listed below
-# This attempts to block the most common type of exploit `attempts` to Grav
-#
-# Block out any script trying to base64_encode data within the URL.
-RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
-# Block out any script that includes a
- {{ gantry.scripts('head')|join("\n ")|raw }}
- {% endblock %}
-
-
-
- {{ htmlContent }}
-
- {% block footer_section %}
- {{ gantry.scripts('footer')|join("\n ")|raw }}
- {% endblock %}
-
-
-