_layouts/default.html in j1-template-2022.1.3 vs _layouts/default.html in j1-template-2022.2.0
- old
+ new
@@ -256,13 +256,14 @@
{% comment %} POST processing of the generated page using (captured) cache
-------------------------------------------------------------------------------- {% endcomment %}
{% case environment %}
{% comment %} DEVELOPMENT mode
+ {{ j1_cache | regex_replace: 'js-nbinteract-widget', 'btn btn-primary btn-raised js-nbinteract-widget' | regex_replace: '<h[1-2].*?>(.*?)<\/h[1-2]>', '<h2>\1</h2>' | regex_replace: '¶|ΒΆ' | strip_empty_lines | remove: '<p>excerpt__end</p>' | pretty_print }}
------------------------------------------------------------------------------ {% endcomment %}
{% when 'development' or 'dev' or 'test' %}
{% if prettify %}
- {{ j1_cache | strip_empty_lines | remove: '<p>excerpt__end</p>' | pretty_print }}
+ {{ j1_cache | strip_empty_lines | remove: '<p>excerpt__end</p>' | pretty_print }}
{% else %}
{{ j1_cache | strip_empty_lines | remove: '<p>excerpt__end</p>' }}
{% endif %} {% comment %} END prettify {% endcomment %}
{% comment %} PRODUCTION mode