How to create and edit a single page in AnQiCMS's page management feature?
As a website content expert who deeply understands the operation of AnQiCMS, I know the importance of high-quality, well-organized page content for attracting and retaining users.In AnQi CMS, the single-page management function provides a powerful and intuitive platform for creating and maintaining static content that is independent of the regular articles or product streams, such as 'About Us', 'Contact Information', 'Service Introduction', and so on.These pages often carry the core information of the website, which is an important window for users to understand the company and trust the brand.
Access and overview single page management
In the AnQi CMS backend management interface, you can easily find the "Page Management" option under "Page Resources" by navigating the menu.This is the centralized management center for all your single-page content. After entering this interface, the system will present a clear list of single pages, where you can easily view all the single pages created and perform quick add, edit, delete, and other operations.The design of this list view is intended to provide an efficient overview, allowing you to quickly locate and manage the required pages.
Create a brand new single page
When you need to add a new independent page to the website, you can click the 'Add Single Page' button in the 'Page Management' interface.The form that pops up will guide you through the process of creating the page, each field is carefully designed to ensure that you can fully build an optimized and attractive single page.
Firstly, you need to specify a new page forPage Namewhich is usually the title seen by the user on the frontend page. Next isSEO title/KeywordsandSingle page introductionThese are crucial SEO elements. The SEO title will be used for the page's<title>tags, keywords are used for<meta name="keywords">tags, and the single-page introduction will fill in<meta name="description">They collectively help search engines understand page content, thereby improving search rankings and exposure.Suggest that you write carefully here, so that users and search engines can clearly grasp the core of the page.
Custom URLThe feature allows you to set a friendly pseudo-static link for the page, which is not only beneficial for search engine optimization but also improves user experience.The system will automatically generate a Pinyin URL based on the page name you enter as a suggestion, but you can manually modify it as needed to ensure the uniqueness and readability of the URL.
Display orderIt determines the page priority in some lists or navigation, the smaller the number, the earlier it is displayed, making it easy for you to control the page display order.
Anqi CMS provides highly flexible.Single page templateSet. By default, a single page will usepage/detail.htmla template to render. However, if you need a single page to have a unique layout or style, you can specify a custom template, such aspage/about.htmlThis requires you to create the corresponding template files in the template design package in advance, ensure that they exist, otherwise the page may not open normally.The ability to customize this template greatly enhances the diversity of content display.
In addition, you can also upload single-page documentsBanner imageandThumbnail. Banner images are typically used for the visual display at the top of the page, and multiple images can be uploaded to create a carousel effect. It is recommended to use images of the same size to maintain visual consistency.The thumbnail may appear as the representative image of the page in some content modules and whether to upload it can be decided according to the front-end call requirements.
The core content of the page passes throughSingle page contentThe editor performs editing. This is a feature-rich text editor that supports various text formatting, image insertion, video embedding, and other operations, allowing you to create page content with vivid pictures and clear structure.
Edit and manage existing single pages
For the single page created, you can find it through the page list and click the "Edit" button to modify it.The process of editing a single page is very similar to creating a new single page, all fields can be adjusted again.This means you can always update the page's SEO information, modify the content, change the template, or adjust the display order to adapt to the changes in the website's content strategy and user needs.In addition to editing, you can also choose to delete the pages you no longer need. The system usually provides a second confirmation to prevent accidental operations.
Flexible integration of single-page templates
The single-page management of Anqi CMS is closely integrated with the template system. In template design, you can usepageDetailTags to dynamically retrieve and display the detailed information of a single page. For example, in your template file, you can use{% pageDetail with name="Title" %}to display the title of a single page, or through{% pageDetail pageContent with name="Content" %}{{pageContent|safe}}Output content safely on a single page. This tagged calling method separates content from presentation, greatly simplifying template development and content maintenance work.Whether using the default template or a custom template, Anqi CMS provides great flexibility, allowing your website content to be displayed beautifully and efficiently.
Frequently Asked Questions
Q1: What is the difference between a single-page and a regular article? A1: A single page is usually used to carry content that is relatively fixed, independent, and not frequently updated, such as 'About Us', 'Contact Us', and so on. They usually do not have categories, tags, or publication time concepts, and are more focused on displaying information.And ordinary articles (or documents) belong to dynamic content, usually belonging to a specific category, and are marked with tags, publication time, authors, etc., more suitable for news, blogs, product introductions, and other content that needs regular updates and archiving.
Q2: How can you apply a unique template to a single-page application?
A2: Firstly, you need to do something in Anqi CMS's/templateIn the directory of your template folder, create a custom template file, such aspage/custom-about.html. Then, when editing the single page in the background, enter the name of your custom template file in the "Single Page Template" field (custom-about.html)。The system will automatically call this specific template file when rendering the single page.
Q3: Will the front-end access be affected if I modify the custom URL of the single page in the background? A3: WillTo avoid a 404 error when users access old links, it is recommended that you use the 301 redirect feature built into Anqi CMS after modifying the URL to permanently redirect the old URL to the new one, in order to maintain the continuity of the website's links and SEO performance.