-
"content" %}.
You’ll also see {% load cms_tags %} in that file - cms_tags is the required template
tag library.
If you’re not already familiar with Django template tags, you can find out more in
the Django 2.4. Rendering Menus
In order to render the CMS’s menu in your template you can use the show_menu tag.
Any template that uses show_menu must load the CMS’s menu_tags library first:
{% load menu_tags %}
This is worth explaining in a little detail:
{% load cms_tags sekizai_tags %} loads the template tag libraries we use in
the template.
{% page_attribute "page_title" %} extracts the page’s page_title
0 码力 |
417 页 |
1.68 MB
| 6 月前 3
-
"content" %}.
You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library.
If you’re not already familiar with Django template tags, you can find out more in the Django too.
Rendering Menus
In order to render the CMS’s menu in your template you can use the show_menu tag.
Any template that uses show_menu must load the CMS’s menu_tags library first:
{% load menu_tags %} This is worth explaining in a little detail:
• {% load cms_tags sekizai_tags %} loads the template tag libraries we use in the template.
• {% page_attribute "page_title" %} extracts the page’s page_title
0 码力 |
296 页 |
1.79 MB
| 6 月前 3
-
"content" %}.
You’ll also see {% load cms_tags %} in that file - cms_tags is the required template tag library.
If you’re not already familiar with Django template tags, you can find out more in the Django too.
Rendering Menus
In order to render the CMS’s menu in your template you can use the show_menu tag.
Any template that uses show_menu must load the CMS’s menu_tags library first:
{% load menu_tags %} This is worth explaining in a little detail:
• {% load cms_tags sekizai_tags %} loads the template tag libraries we use in the template.
• {% page_attribute "page_title" %} extracts the page’s page_title
0 码力 |
298 页 |
1.79 MB
| 6 月前 3
-
"content" %}.
You’ll also see {% load cms_tags %} in that file - cms_tags is the required template
tag library.
If you’re not already familiar with Django template tags, you can find out more in
the Django 2.4. Rendering Menus
In order to render the CMS’s menu in your template you can use the show_menu tag.
Any template that uses show_menu must load the CMS’s menu_tags library first:
{% load menu_tags %}
This is worth explaining in a little detail:
{% load cms_tags sekizai_tags %} loads the template tag libraries we use in
the template.
{% page_attribute "page_title" %} extracts the page’s page_title
0 码力 |
413 页 |
1.67 MB
| 6 月前 3
-
This is worth explaining in a little detail:
{% load cms_tags sekizai_tags %} loads the template tag libraries we use in
the template.
{% page_attribute "page_title" %} extracts the page’s page_title two tags. We
recommended placing {% render_block "css" %} just before the tag,
and and {% render_block "js" %} tag just before the