http
need to redirect to https
? Does the root domain need to redirect to www.
? Then we check the path. Does /blog/example-article/
have an entry in this Zesty.io account or does it redirect to /news/example-article/
, or is it a 404? Once we arrive at the correct path and it is a real page on that Zesty.io site, the webpage begins compiling.site.css
file. It does the same thing with editable Javascript files for a site.js
file.<head>
element featuring dynamic elements called out with content in curly brackets and where to edit in parentheses:<body>
tag, it references the loader
file. The two exceptions are Ajax URLs and 404 pages; they are loaded directly, as is. Within the Loader file there is a {{ current_view }}
Parsley call. The current_view
call, dynamically references the specific template for the webpage that's being rendered. For example, loading the homepage would use the homepage
template file where the loader
calls current_view
. This allows for site-wide template features to be used, like a header, footer and using site-wide scripts like tracking pixels.