Getting Started
Favicon Generation
Web Manifest
Metadata
The se_current_view
tag provides various utilities to retrieve information about the view currently being rendered. For example, it is capable of returning the current relative view path, as well as outputting <!-- START: -->
and <!-- END: -->
comments in a development environment.
se_current_view
TagWhen used by itself, the se_current_view
tag will output the relative path of the view currently being rendered:
1{{# Output the relative path of the current view. #}}2{{ se_current_view /}}
se_current_view:start
TagThe se_current_view:start
tag will output a <!-- START: -->
HTML comment with the current relative view path. This tag does nothing when the site is in production mode.
1{{ se_current_view:start /}}
se_current_view:end
TagThe se_current_view:end
tag will output a <!-- END: -->
HTML comment with the current relative view path. This tag does nothing when the site is in production mode.
1{{ se_current_view:end /}}
se_current_view:wrap
TagThe se_current_view:wrap
tag will is a helper tag that combines the se_current_view:start
and se_current_view:end
functionality. This tag is intended to be used as a tag pair, and will wrap the contents of the tag in <!-- START --><!-- END -->
HTML comments.
This tag does nothing when the site is in production mode.
1{{ se_current_view:wrap }}2 Other template code here.3{{ /se_current_view:wrap }}
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.