How to display the website name, Logo, filing number, and copyright information in Anqi CMS?

Calendar 👁️ 75

When operating a website, the website name, Logo, filing number, and copyright information are core elements that constitute the brand image, establish user trust, and meet legal compliance requirements.For users of AnQiCMS, the system provides an intuitive and flexible way to manage and display this information, making your website not only rich in content but also professionally perfect in detail.

1. Centralized management: Configure these key information in the background.

The design philosophy of Anqi CMS is one of making website management simple and efficient.All this important website basic information is centralized in the "Global Function Settings" for unified configuration.

You can find them through the following path: Log in to the AnQi CMS backend -> Select "Backend Settings" from the left menu bar -> Click "Global Function Settings".

Here, you will see a series of configuration items related to the global information of the website:

  • Website Name:This is the brand name of your website and also the page title (<title>An important part of the label. Here, fill in your company or brand name, for example, "AnQi CMS official website."
  • Website Logo: Upload your website logo image. Once uploaded, it can be called and displayed at any location on the website, and it is of great importance to the visual identity of the website.
  • Record number:For websites operating in mainland China, the filing number is an indispensable legal information.Enter your ICP record number here, for example, 'Guangdong ICP xxxxxxxx number'.The system will automatically handle the link format when displaying on the front end.
  • Copyright information:The copyright statement at the bottom of the website usually includes the year and rights reserved information, for example “&copy;2023 安企CMS. All Rights Reserved.

In addition to these default configuration items, if you have special brand information that needs to be displayed, you can also use the "custom setting parameters" to add more exclusive fields to meet personalized needs.

Second, flexible presentation: call this information in the template

After configuring the background information, the next step is how to display them in the website's frontend template.AnQi CMS uses a template engine syntax similar to Django, obtaining background data through specific "tags".

We mainly use for the global information of the websitesystemLabel. This label can easily retrieve the various data you have configured in the "Global Function Settings".

1. Display website name

The website name is not only used in the header and footer, but is also a key component of page titles in search engine optimization (SEO).

To display the website name, you can use it in the template.systemtags, and specifyname="SiteName":{% system with name="SiteName" %}

On the page<title>In the tag, you may wish to display both the title of the current page and the website name. At this point, you can usetdkand tags to combinesiteName=trueparameters to let the system automatically add the website name as a suffix to the page title:<title>{% tdk with name="Title" siteName=true %}</title>

2. Display website logo

The website logo is the visual symbol of the brand and is usually placed in the header of the website.

BysystemLabel, you can obtain the URL of the Logo image and then embed it into<img>tags:<img src="{% system with name="SiteLogo" %}" alt="{% system with name="SiteName" %}" />Here we also useSiteNameAs an imagealttext, enhancing accessibility and SEO friendliness.

3. Display the filing number

The record number is usually placed at the footer of the website and linked to the Ministry of Industry and Information Technology record management system.

Usesystemtags, and specifyname="SiteIcp"You can get the record number text:{% system with name="SiteIcp" %}To achieve click-through, it can be placed in<a>Inside the tag:<a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{% system with name="SiteIcp" %}</a>

4. Display copyright information

Copyright information is usually also located in the footer of the website, indicating the ownership of the website content.

BysystemLabel, specifyname="SiteCopyright"You can obtain the copyright content:{% system with name="SiteCopyright" %}If your copyright information contains HTML code (such as bold, links, etc.), in order to ensure that they are parsed correctly rather than displayed as escaped, you can add them when calling|safeFilter:{% system siteCopyright with name="SiteCopyright" %}{{ siteCopyright|safe }}It is a good practice to first check if the copyright information exists before rendering:{%- system siteCopyright with name="SiteCopyright" %} {%- if siteCopyright %}<p>{{ siteCopyright|safe }}</p>{% endif %}

3. Integrate them into the template: An example footer

To better understand the practical application of these tags, we can imagine a HTML snippet of a website footer that includes all the above information:

<footer class="main-footer">
    <div class="container">
        <div class="footer-content">
            <a href="{% system with name="BaseUrl" %}" class="footer-logo">
                <img src="{% system with name="SiteLogo" %}" alt="{% system with name="SiteName" %}" loading="lazy">
            </a>
            <p class="copyright-text">
                &copy; {% now "2006" %} {% system with name="SiteName" %}. All Rights Reserved.
            </p>
            {# 判断是否存在自定义版权信息并安全输出 #}
            {%- system customCopyright with name="SiteCopyright" %}
            {%- if customCopyright %}<p class="custom-copyright">{{ customCopyright|safe }}</p>{% endif %}

            {# 判断是否存在备案号并链接到工信部 #}
            {%- system icpNumber with name="SiteIcp" %}
            {%- if icpNumber %}
                <p class="icp-info">
                    <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{{ icpNumber }}</a>
                </p>
            {%- endif %}
        </div>
    </div>
</footer>

In this example,{% now "2006" %}The tag is used to dynamically display the current year, ensuring that the copyright year is always up to date, avoiding the trouble of manual updates.

By following these steps, you can easily manage and display the name, Logo, filing number, and copyright information of your website, adding professionalism and credibility to your site.

Frequently Asked Questions (FAQ)

Q1: I modified the website name or Logo in the background, but the front page did not update immediately, what is the reason for this? A1:This is usually due to caching. AnQi CMS uses caching to improve website access speed.You can try clearing your browser cache or clicking the "Update Cache" feature in the Anqi CMS backend (usually at the bottom or top right of the left menu) to force update the website cache.

Q2: Can I display different Logos or website names on different pages of the website? A2:By default, the Logo and website name in the "Global Feature Settings" are globally unified.If you need to display different logos or names on specific pages, you can consider using the 'Custom Fields' feature of Anqi CMS.For example, add a custom field "Page Logo" for a single page or category, then call the Logo of this custom field in the template of the page, if not, fall back to the global Logo.This requires some basic template modification skills.

Q3: If I need to add other compliance information (such as public security filing number) in addition to the default filing number, how should I handle it? A3:The "Global Function Settings" of AnQi CMS supports adding "custom settings parameters". You can add a new parameter here, for examplename="GonganIcp",value="你的公安备案号"then follow{% system with name="GonganIcp" %}The way to call and display in the template.

Related articles

How to get and display detailed information of a single Tag label (Title, Description, Logo)?

In AnQi CMS, tags (Tag) are an important way to organize and associate content.Sometimes, we need not only list the tags but also hope to display detailed information about a single tag on an independent page or in a specific area, such as its title, description, and even a representative logo.The AnQi CMS provides a concise and efficient method to meet this requirement. ### Understanding Tag Information Source In the Anqi CMS backend, you can configure the details for each tag.

2025-11-08

How to display the document list under the specified Tag label and implement pagination?

In AnQi CMS, the Tag (tag) function is an important tool for organizing and associating content, enhancing user experience and website SEO performance.When your website content becomes richer, how to effectively display the document list under a specified Tag and provide clear pagination navigation is crucial for the discoverability of content and the continuous browsing of users.This article will give you a detailed explanation of how to easily implement this feature by using several key template tags in AnqiCMS.

2025-11-08

How to retrieve and display all single page lists in AnQi CMS?

Managing and displaying single pages in Anqi CMS is one of the basic functions for website content construction.A single page is usually used to create pages with relatively fixed structures and independent content, such as 'About Us', 'Contact Information', or 'Service Introduction', etc.If you wish to display a list of single pages in a specific area of the website, such as the footer navigation or sidebar, AnQi CMS provides a very intuitive and flexible way to achieve this.

2025-11-08

How to display the complete content and all fields of a single page?

In Anqi CMS, a single page is the basis for building static content pages such as 'About Us' and 'Contact Information'.Effectively displaying the complete content of these pages and all their fields is crucial for website customization and user experience.The Anqi CMS provides intuitive and powerful template tags, allowing you to easily display single-page data configured in the background on the website front-end. To display the complete content of a single page and all related fields, we mainly use the `pageDetail` core template tag.

2025-11-08

How to retrieve and display the contact information, phone number, address, and email of the website?

In website operation, a clear and easily searchable contact method is a key factor in building user trust and promoting communication conversion.Whether you are seeking a partner for cooperation or a user in need of help, you can quickly find you through the contact information provided on the website.AnQiCMS provides flexible and convenient functions for managing and displaying contact information, allowing you to easily obtain and display various contact information such as contacts, phone numbers, addresses, and email addresses.

2025-11-08

How to set and display the TDK (Title, Description, Keywords) on the homepage of Anqi CMS?

In website operation, TDK (Title, Description, Keywords) play a crucial role, they are the first window for search engines to understand the content of the website, directly affecting the visibility and click-through rate of the website in search results.An optimally optimized TDK can not only improve the website's SEO performance but also accurately convey the core value of the website to potential visitors.AnQiCMS is a content management system that focuses on SEO optimization, providing users with a convenient and efficient way to set up and manage the TDK of the homepage.

2025-11-08

How to generate and display the breadcrumb navigation of the current page in Anqi CMS

When we browse websites, we often see a line at the top or bottom of the page indicating the current location path, such as “Home > Product Category > Electronic Products > Laptop”.This is what we commonly call 'breadcrumb navigation', which not only clearly informs us of our location but also makes it convenient for us to quickly return to the previous level page, greatly enhancing the website's user experience and navigation efficiency.In Anqi CMS, implementing and displaying breadcrumb navigation is a very easy thing to do.The system is built-in with special template tags that can intelligently adapt to the content structure of the current page

2025-11-08

How to create pagination navigation for document lists, Tag lists, and other Anqi CMS features?

In website operation, providing clear and easy-to-use pagination navigation for content lists not only greatly improves user experience but also optimizes search engine crawling efficiency, helping content to be discovered better.AnQiCMS (AnQiCMS) knows this and therefore provides powerful and flexible pagination tags in template design, allowing content operators to easily create pagination navigation for document lists, tag lists, and so on. We will discuss together how to implement this feature in AnQi CMS templates, organizing your website content neatly.--- ###

2025-11-08