diff --git a/docs/customizations/override-local-config.md b/docs/customizations/override-local-config.md index 23e76d59ae..a04faaf815 100644 --- a/docs/customizations/override-local-config.md +++ b/docs/customizations/override-local-config.md @@ -22,6 +22,7 @@ geonode-project/ - add the following block extension in the `_geonode_config.html` template +{% raw %} ```django {% extends 'geonode-mapstore-client/_geonode_config.html' %} @@ -34,6 +35,7 @@ geonode-project/ {% endblock %} ``` +{% endraw %} Now the `window.__GEONODE_CONFIG__.overrideLocalConfig` function can be used to override the localConfig json file. @@ -43,6 +45,7 @@ Now the `window.__GEONODE_CONFIG__.overrideLocalConfig` function can be used to Note: not all configuration can be applied to the geonode-mapstore-client because the environment is different from the MapStore product +{% raw %} ```django {% extends 'geonode-mapstore-client/_geonode_config.html' %} @@ -80,9 +83,11 @@ Note: not all configuration can be applied to the geonode-mapstore-client becaus {% endblock %} ``` +{% endraw %} - Restore a plugin in a page +{% raw %} ```django {% extends 'geonode-mapstore-client/_geonode_config.html' %} @@ -103,10 +108,11 @@ Note: not all configuration can be applied to the geonode-mapstore-client becaus {% endblock %} ``` +{% endraw %} - Remove a plugin from a page - +{% raw %} ```django {% extends 'geonode-mapstore-client/_geonode_config.html' %} {% block override_local_config %} @@ -131,9 +137,11 @@ Note: not all configuration can be applied to the geonode-mapstore-client becaus {% endblock %} ``` +{% endraw %} - Update plugin configuration +{% raw %} ```html {% extends 'geonode-mapstore-client/_geonode_config.html' %} {% block override_local_config %} @@ -209,3 +217,4 @@ Note: not all configuration can be applied to the geonode-mapstore-client becaus {% endblock %} ``` +{% endraw %}