Common Tags
-
System settings label
Instructions: Used to obtain system configuration information. Usage: {% system variable_name with name="field_name" %}, the variable name is not required. After setting the variable name, it can be called by the variable name later. If the variable name is not set, it will output the result directly. The available field names for the name parameter are: Website Name SiteName Website Logo SiteLogo Website -
Contact Information Tag
Instructions: Used to obtain contact information configured on the back-end. Usage: {% contact variable_name with name="field_name" %}, the variable name is not required. After setting the variable name, it can be called later through the variable name. If the variable name is not set, the result is output directly. The available field names for the name parameter are: contact person, UserName, phone number, Cellpho -
TDK Tag
Instructions: Used to obtain the page title, keywords, and description information. Usage: {% tdk variable name with name="field name" %}, the variable name is not required. After setting the variable name, it can be called by the variable name later. If the variable name is not set, the result is output directly. The available field names for the name parameter are: page title Tit -
Navigation List Tag
Instructions: Used to obtain the page navigation list usage method: {% navList variable name %} For example, if the variable is defined as navs {% navList navs %}...{% endnavList %}, it can also be defined with other variable names. After the definition, it needs to be consistent with the variable name used in the following for loop.navList tag has no parameters, use e instead -
Breadcrumb Navigation Tag
Instructions: Used to obtain the breadcrumb navigation list usage method: {% breadcrumb variable name with index="home" %} If the variable is defined as crumbs {% breadcrumb crumbs with index="home" %}...{% endbreadcrumb -
Count code tags
360/Toutiao and others JS automatically submit JS code call tag:{{- pluginJsCode|safe }} -
Home Banner List Tag
Description: Used to get the home page banner list usage: {% bannerList variable name %} If the variable is defined as banners {% bannerList banners %}...{% endbannerList %} banners is an array object, so a for loop is needed to output item as the for loop body -
Document Model Detail Tag
Instructions: Used to obtain the document model detail data Usage: {% moduleDetail variable name with name="field name" id="1" %} The variable name is not required. After setting the variable name, subsequent calls can be made through the variable name. If the variable name is not set, the result is output directly.The moduleDetail supports the parameters: model ID id.The id is not required, it will default to the current model. If you need to specify a model, you can do so by setting the id or token.Model URL Alias