Skip to content

Commit

Permalink
Render frontend dependencies via CMS when toolbar present
Browse files Browse the repository at this point in the history
Alias content does not have a current page but request.toolbar is another indicator that CMS is doing the rendering.
  • Loading branch information
stefanw committed Apr 26, 2024
1 parent b448dc3 commit f42b04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fragdenstaat_de/templates/_frontend.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load frontendbuild sekizai_tags %}
{% if request.current_page or force_cms_render %}
{% if request.current_page or force_cms_render or request.toolbar %}
{% getfrontendbuild entry_point as assets %}
{% for block, output_list in assets %}
{% for output in output_list %}
Expand Down

0 comments on commit f42b04d

Please sign in to comment.