Commonly used tags
-
System Settings Tags
Description: Used to obtain system configuration information: {% system variable name with name="field name" %}. The variable name is not necessary. After setting the variable name, you can call it through the variable name in the future. Without setting the variable name, the result will be output directly. The field names available for the name parameter are: website name SiteName website Logo SiteLogo SiteLogo website -
Contact Tags
Description: Use method for obtaining contact information for background configuration: {% contact variable name with name="field name" %}. The variable name is not necessary. After setting the variable name, you can call it through the variable name in the future. Without setting the variable name, the result will be output directly. The field names available for the name parameter are: Contact UserName Contact Number Cellpho -
TDK Tags
Description: Use method for obtaining the title, keywords, and description information of the page: {% tdk variable name with name="field name" %}. The variable name is not necessary. After setting the variable name, you can call it through the variable name in the future. Without setting the variable name, the result will be output directly. The field names available for the name parameter are: page title Tit -
Navigation List Tag
Description: Used to get the page navigation list: {% navList variable name %} If you define a variable as navs {% navList navs %}...{% endnavList %}, it can also be defined as other variable names. After definition, it needs to be consistent with the variable name used in the for loop below. The navList tag has no parameters, and you need to use it -
Breadcrumb navigation tags
Description: Used to get the breadcrumb navigation list: {% breadcrumb variable name with index="Home" %} If you define the variable as crumbs {% breadcrumb crumbs with index="Home" %}...{% endbreadcru -
Statistical Code Tags
360/Toutiao and other JS code call tags for JS automatically submitted: {{- pluginJsCode|safe }} -
Home Banner List Tags
Description: Used to get the homepage Banner list usage method: {% bannerList variable name %} If you define a variable as banners {% bannerList banners %}...{% endbannerList %}banners is an array object, so you need to use a for loop to output item as the for loop body -
Document model details tag
Description: Used to obtain document model details data usage method: {% moduleDetail Variable name with name="field name" id="1" %} Variable name is not necessary. After setting the variable name, you can call it through the variable name in the future. Without setting the variable name, the result will be output directly. The supported parameters of moduleDetail are: model ID id. id is not required, the current model will be retrieved by default. If you need to specify a model, you can achieve the purpose by setting the id or token. Model URL alias