Getting Started
Favicon Generation
Web Manifest
Metadata
The se_view
tag provides a few utilities to help implement more complicated logic within your site's templates.
se_view:rendered
TagThe se_view:rendered
tag can be used to check if a view has already been rendered:
1{{ partial:my/partial /}}2 3{{ if {se_view:rendered name="my.partial"} }}4 It has been rendered.5{{ else }}6 It has not.7{{ /if }}
This tag will only let you know if a view has been rendered, and cannot tell you if it was rendered recently. The partial does not to be in the same template file for this tag to work.
This tag relies on the observe_views
option inside config/site_essentials/templating.php
to be set to true
(the default).