Manage and display single-page content in Anqi CMS: from creation to optimization
Most websites cannot do without static pages such as "About UsThese pages, although relatively fixed in content, are important windows for users to understand the website and establish trust. They are also key factors for search engines to evaluate the professionalism of the website.Auto CMS understands the importance of these pages and provides a set of intuitive and powerful tools to help you easily manage and beautifully display these single-page contents.
Easily create and manage your single page
It is very direct to create and manage a single page in the AnQi CMS.You only need to log in to the back-end, navigate to the "Page ResourcesHere is a clear list of all the single-page content created on your website.
If you want to create a new page, just click the 'Add Single Page' button. In the pop-up form, you can configure key information for the page:
- Page NameThis is the title displayed to the user on the front desk.
- Single page contentThis is the core of the page, Safe CMS is built-in with a rich-featured editor that allows you to easily format text, insert images, create tables, and more, just like using Word.It's even better that it also supports Markdown formatting, and if you are accustomed to this concise writing style, the system will automatically render it into beautiful HTML content.
- Custom URLTo ensure your website's SEO, the system will intelligently generate a search engine friendly pinyin alias for the page name you enter.Of course, you can also manually adjust it according to your actual needs, but please make sure it is unique throughout the entire site to avoid link conflicts.
- SEO title, keywords, single page introductionThese three fields are specifically designed for search engine optimization. Spending some time carefully filling them out can effectively improve the visibility and ranking of your single page in search results.
- Display OrderIf you have multiple single pages that need to be displayed in a specific list (such as footer navigation), you can control their arrangement by adjusting the display order number, with smaller numbers appearing earlier.
- Visual ElementsIf your page needs some visual highlights, such as displaying a full-page image at the top, you can upload a "Banner image"; or set a "thumbnail" to be displayed in lists or when sharing.
Flexible and diverse single-page content display
Anqi CMS provides high flexibility in displaying single pages.
By default, Anqi CMS will look for the current theme directory underpage/detail.htmlThe template is used to display all the single-page content. This unified template helps maintain the overall design style and consistency of the website.
However, if you want to design a completely unique layout and style for a specific single page (such as "About Us" or "Contact Us"), Safe CMS fully supports it. You just need to create a template file named after the single page ID or a custom name under the directory of the theme you are currently using,page/about_us.html. Then, while editing the single page "About Usabout_us.htmlWhen the page is accessed, it will load and use the custom exclusive template you set instead of the default one.page/detail.html.
In the template file, calling the content of a single page is also simple and intuitive. You can use{% pageDetail %}tags to obtain the details of a single page. For example:
- To display the page title, you can use
{% pageDetail with name="Title" %}. - To display the main content of the page, you can use
{% pageDetail with name="Content" %}{{pageContent|safe}}. It should be noted that if the page content contains HTML code, it must be enclosed with|safeFilter, ensuring that HTML code is correctly parsed and displayed by the browser, rather than being escaped as plain text. - Other like page links
Link, Large imageLogo, thumbnailThumb, Grouped imagesImagesThis field and others can also be easily accessed in a similar manner.
In addition, sometimes you may need to list all or part of the links on a single page in the footer, sidebar, or other public areas of the website (such as "Privacy Policy{% pageList pages %}Labels are particularly useful. By simplyforloop, you can traverse all single-page, easily generate and display these navigation links, allowing users to quickly access important information.
Further improve the user experience and SEO of a single page
English CMS makes single-page management simple and provides many practical functions to optimize user experience and search engine performance:
- Static rules:Cooperate with your custom URL, you can set up single-page static rules under "Function Management"