Skip to content

Commit 55193bf

Browse files
author
David Singleton
committed
Update emergency publishing uncache comments
To reflect the 3 layouts, and try and make the whole thing a bit more readable.
1 parent 56fa67d commit 55193bf

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

campaigns.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,15 @@ def template(app):
5252

5353
def clear_static_generated_templates():
5454
"""
55-
Our various frontend applications use the wrapper.html.erb and
56-
header_footer_only.html.erb templates. They get these templates
57-
using the Slimmer gem. And this gem fetches these templates from
58-
the static application, located using the ASSET_ROOT.
59-
60-
When static is deployed there are no generated wrapper.html.erb or
61-
header_footer_only.html.erb templates. At the first request of
62-
either of these, the application will generate the template. The
63-
template will be placed in the public/template directory. From
64-
that point on, the templates are served by nginx.
55+
Our various frontend applications use the wrapper.html.erb,
56+
header_footer_only.html.erb and core_layout.html.erb layout templates.
57+
They get these templates using the Slimmer gem, which fetches
58+
these templates from the static application, located using ASSET_ROOT.
59+
60+
When static is deployed there are no generated layout templates
61+
on static At the first request to one these, static will generate
62+
the template. The template will be placed in the public/template
63+
directory. From that point on, the templates are served by nginx.
6564
6665
This function clears the public/template directory to force it to
6766
be regenerated to include the emergency campaign.

0 commit comments

Comments
 (0)