As a senior website operation expert, I have a deep understanding of the powerful functions and flexible template system of AnQiCMS (AnQiCMS).It is not just a content management system, but also a powerful tool for empowering enterprises and content operation teams, especially in terms of content display and management. Its core lies in a set of ingeniously designed and feature-rich template tags.

Today, let's delve into the 38 commonly used tags in the AnQi CMS template, and see what roles they play, and how they can help us easily build and manage all kinds of websites.No need for excessive embellishment, we will reveal the practical value of these labels in the most natural and fluent language.


1. Global information and site configuration: the cornerstone of the website

Firstly, each website needs some basic information to support its operation and display.The Auto CMS provides a series of tags that allow us to easily call these site-level common data in templates.

  • System Settings Label (system): This label is the key to retrieve the global configuration of the website. For example, if you want to display the website name, filing number, or website logo in the footer,systemThe tag can easily help you achieve this. It allows you to call the site name, Logo image, copyright information, and other background configurations, ensuring the consistency of the brand image across the entire site.
  • Contact Information Label (contact)
  • Universal TDK Label (tdk)In SEO optimization, the page title (Title), keywords (Keywords), and description (Description) are crucial.tdkTags are created for this purpose, it will automatically extract and output the corresponding TDK information according to the type of the current page (home page, article detail page, category page, etc.), greatly simplifying the management of SEO elements, and supporting custom website name suffixes, separators, and other details, even obtaining the standard link of the page (CanonicalUrl).

二、Navigation and Structured Display: Guide Users’ Path

Clear navigation is the soul of user experience, and good structured display can enhance the readability of content.

  • Navigation list label (navList):The top menu, bottom links, sidebar navigation, etc., of the website can benavListLabel dynamic generation.It can pull data from the navigation menu configured in the background, supports multi-level navigation, and can intelligently judge whether the current page is an active link, thus making it convenient to add highlight styles.
  • Breadcrumbs navigation tag (breadcrumb):To allow users to clearly understand their location within the website, breadcrumb navigation is indispensable.breadcrumbThe label can automatically generate the path from the homepage to the current page, supports customizing the homepage name and whether to display the current document title, which greatly enhances the ease of use and user orientation of the website.

English content: Three, Content Classification and Single Page Management: Organize the website structure

Content is the core of the website. How to efficiently organize and display different types of content is a problem that every CMS must solve.

  • Category list label (categoryList): Whether it is content of articles, products, or any other module, they all need to be categorized.categoryListThe tag can retrieve the classification list under a specified module, supports multi-level nested display of classifications, and can also display the child classifications or同级classifications under a certain parent classification as needed. It is an ideal choice for constructing a multi-level content system.
  • Category details label (categoryDetail)When you need to display detailed information about a specific category (such as the category name, description, Logo, Banner image, and even the number of documents under the category),categoryDetailLabels can be put to use. It allows each category page to have unique and rich content.
  • Single-page list label (pageList)For pages such as “About Us” and “Contact Us” that are independent and do not belong to any category, we call them single pages.pageListTags can get all or filtered single-page lists, making it convenient for you to display them in the footer or sidebar.
  • Single-page detail tags (pageDetail)If you want to display the content of a specific single page in the template, such as its title, content, images, etc.pageDetailThe label can accurately locate and extract the required data, allowing each independent page to be flexibly customized.

The core display of dynamic content (articles/products): the flesh and blood of the website.

This is the largest and most commonly used part of the Anqi CMS template tags, which focuses on the presentation of dynamic content such as articles and products.

  • Document list tags (archiveList)This is the core tag on the content list page, which can retrieve lists of articles or products based on various conditions (such as category ID, model ID, recommendation attributes, sorting method, display quantity, etc.). Whether it is the latest articles, hot products, recommended content, or paginated search results,archiveListCan handle flexibly. It also covers.Document tagfunction, throughtype="related"Parameter intelligent recommendation related content, enhance user stickiness.
  • Document detail tag (archiveDetail)When a user clicks to enter an article or a product page,archiveDetailThe label is responsible for displaying all its details.It can obtain all information such as title, content, thumbnail, multi-image group, view count, comment count, and publication time, even including various fields customized in the background, and supports image lazy loading, Markdown rendering, and comparative display of multiple documents.
  • Previous document tag (prevArchive)/Next document tag (nextArchive)These two tags can automatically identify the previous and next content of the current document, and provide their titles and links, making it convenient for users to seamlessly jump to other related content after reading an article, optimizing the reading experience and the connection between content.
  • **Document Parameters