Security BLOG

AnQiCMS Help Document and User Guide

How to control the number of articles displayed per page and the sorting method on the article list page?

## Fine Control: The Practical Guide to the Number and Sorting of Articles on the AnQi CMS List Page In content operations, the list page of articles on the website is an important window for users to browse content and discover information.A well-organized and content-rich list page, which not only enhances user experience but is also a key factor in search engine optimization (SEO).AnQi CMS is well-versed in this, enabling you to easily and precisely control the number of articles displayed per page and the sorting method of the content through its powerful and flexible template tag system.This article will take you deep into how to use Anqi CMS

Calendar date 2025-11-07 👁️ 73

How to customize the URL rewrite rules for the article detail page in the AnQiCMS template?

## Optimize SEO, Enhance User Experience: AnQiCMS Detailed Explanation of Custom Article Detail Page URL Static Rules In website operation, a clear and meaningful URL structure is crucial for search engine optimization (SEO) and user experience.Imagine a user sees `/article.php?Which link would be more attractive to them, the one with `id=123&category=news` such as this, or the one with `/news/anqicms-url-guide.html` such as this?

Calendar date 2025-11-07 👁️ 71

How to customize the display of SEO titles, keywords, and descriptions on the AnQiCMS homepage?

In the digital age, the homepage of a website is like the 'front door' of a company, the information presented to search engines is crucial.An meticulously optimized homepage that clearly conveys the core value of the website, attracts target users, and provides friendly crawling signals to search engines.In AnQiCMS, customizing the display of the SEO title (Title), keywords (Keywords), and description (Description) on the homepage is a straightforward and powerful process, which is an important manifestation of AnQiCMS's SEO-friendly features.

Calendar date 2025-11-07 👁️ 67

How does AnQiCMS adaptively display website content for different devices (PC/Mobile end)?

In today's parallel network environment of multiple devices, users may access websites through desktop computers, laptops, tablets, or smartphones.Therefore, ensuring that the website content displays well on different devices and provides a smooth user experience is a key link in the success of website operation.AnQiCMS as an enterprise-level content management system fully considers this requirement and provides a flexible and diverse adaptive display scheme for device content, allowing users to choose the most suitable method according to their own situation.AnQiCMS mainly provides three core strategies for handling multi-device display of website content

Calendar date 2025-11-07 👁️ 61

How does the `thumb` filter quickly generate and display a thumbnail version of the original image URL?

In website operation, images are key elements to attract users and enrich content, but large image files often slow down page loading speed, affecting user experience and search engine optimization.Anqi CMS knows this and therefore provides a very convenient and efficient solution——the `thumb` filter.It can easily convert the original image into a thumbnail version suitable for web display, without manual processing, greatly enhancing the efficiency of content publication and the overall performance of the website.### Core Function Analysis: `thumb` Filter's Working Principle This is named

Calendar date 2025-11-07 👁️ 68

How does the `stringformat` filter output values of different data types in a custom format?

In the AnQiCMS template, mastering the format of data output is the key to content presentation.In order to display various data types (whether it is numbers, text, or more complex structures) in the way you expect to your visitors, AnQiCMS provides a powerful and practical tool - the `stringformat` filter.It is like a precise converter that can convert different types of values according to the rules you define, outputting neat and uniform strings.### Deep Understanding of `stringformat`

Calendar date 2025-11-07 👁️ 70

How does the `count` filter count the occurrences of a specific keyword in a string or array?

In AnQi CMS template development, efficiently handling and analyzing content is the key to enhancing website interactivity and information display capabilities.Sometimes, we need to know how many times a specific word appears in a piece of text, or how many times a specific element is included in a data list.This is when the `count` filter comes into play.It is a very practical tool that can help us quickly count the occurrences of a specific keyword in a string or an array (slice).

Calendar date 2025-11-07 👁️ 66

The `contain` filter how to determine if a string or array contains a specified keyword?

In Anqi CMS template development, flexibly controlling the display of content is the key to improving website user experience and operational efficiency.Sometimes, we may need to determine whether a piece of text, a list (array), or a data object (Map/Struct) contains a specific keyword or property.At this time, the `contain` filter provided by Anqi CMS can give full play to its role, it can help us easily achieve this kind of conditional judgment, making the template logic more intelligent.What is the `contain` filter?

Calendar date 2025-11-07 78

How `length` and `length_is` filters are used to check the length of a string, array, or map?

In Anqi CMS template development, flexible handling and displaying data is the key to improving website interactivity and user experience.Understanding how to efficiently detect the length of strings, arrays, or mappings (similar to dictionaries or associative arrays in other programming languages) is the foundation for content operations and template customization.This article will introduce in detail the `length` and `length_is` practical filters in the Anqi CMS template engine, which will help you better control the display of page content.### `length` filter

Calendar date 2025-11-07 👁️ 70

How `default` and `default_if_none` filters set a default display value for possibly empty variables?

In website content management, we often encounter situations where variable values may be empty.These empty values, if displayed directly on the front-end page, may lead to incomplete content display, page layout disorder, and even a bad user experience.AnQiCMS (AnQiCMS) as a powerful content management system, the Django template engine syntax it adopts provides us with a flexible way to handle such issues.

Calendar date 2025-11-07 👁️ 68