How to display the website's logo and filing information?

In website construction, the website logo and filing information are indispensable components.The logo is not only a visual identifier of a brand, helping users quickly recognize and remember your website, but also the record information reflects the compliance and authority of the website, especially in mainland China, website record is the basis for legal operation.AnQi CMS is an efficient and easy-to-use content management system that fully considers these core needs and provides a simple and clear way to configure and display these key information.


Configure Logo and filing information in the Anqi CMS backend

First, you need to log in to the Anqi CMS backend, navigate to the "Backend Settings" in the left menu, and then click the "Global Function Settings".This page collects the basic information configuration of the website, including the logo and filing number.

On the global feature settings page, you will see a setting item named "website logo".This is the place to upload your website brand logo. Just click the upload button and select the logo image file you have prepared.Suggest uploading a high-resolution logo to ensure good display on different devices.

Right after, you will find the 'Record Number' field. If your website has been recorded in the Mainland of China, please fill in your record number here (for example: Beijing ICP preparation XXXXXXXX number).The Anqi CMS, when called from the front end, usually generates a link to the Ministry of Industry and Information Technology (MIIT) government service platform based on this filing number, which is crucial for the website's compliance.

In addition, on this page, you can also configure the "site name", which usually appears as a suffix of the web page title and is an important part of SEO optimization.The 'Copyright Information' field is used to fill in the copyright statement of your website, which is usually displayed in the website footer and also helps to enhance the professional image of the website.

Display the Logo and filing information in the website template

After configuring the background information, the next step is to display this information on the website front-end.The Anqi CMS adopts a template engine syntax similar to Django, allowing you to flexibly control the presentation of website content.Website template files are usually stored in/templateUnder the directory, you need to edit the corresponding template to insert the Logo and filing information. The system provides a convenientsystemLabel, used specifically to call the background configuration global information.

Show website logo

The website logo is usually displayed in prominent locations such as the header or footer. To display the logo image on the website, you can usesystemlabel and specifyname="SiteLogo". Additionally, to ensure SEO-friendliness and accessibility, it is strongly recommended to add the Logo image attributealtproperty, which can be utilizedname="SiteName"to obtain the website name asalt.

<img src="{% system with name="SiteLogo" %}" alt="{% system with name="SiteName" %}" />

Place this line of code where you want the logo to appear, such as on the websitebase.htmlorpartial/header.htmlIn the template file, the website logo will be displayed normally

Display the filing information

Registration information is generally displayed in the footer of a website. To maintain compliance and facilitate visitor inquiries, the filing number is usually linked to the Ministry of Industry and Information Technology's government service platform. You can usesystemlabel and specifyname="SiteIcp"To obtain the record number and combine it with HTML's<a>tag to create a link.

<p>
    <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">{% system with name="SiteIcp" %}</a>
    &copy; {% now "2006" %} {% system with name="SiteName" %}. All Rights Reserved
</p>

In the coderel="nofollow"attribute helps to tell the search engine not to pass weight to the record link, andtarget="_blank"Open the link in a new tab. The copyright year can be used{% now "2006" %}The tag dynamically retrieves the current year to keep it up to date. In addition, you can also use{% system with name="SiteCopyright" %}Label to display the copyright statement set in the background to supplement the footer information.


Through the backend configuration and template tags provided by Anqi CMS, you can easily manage and display the website's logo and filing information, which not only enhances the brand image and professionalism of the website but also ensures the legal and compliant operation of the website.The entire process is intuitive and convenient, even for users without a technical background can quickly get started.

Frequently Asked Questions (FAQ)

1. After uploading the logo, why is it not displayed on the website front end or is the old logo displayed instead?

This is usually due to browser or system cache.You can try clearing your browser cache or log in to the Anqi CMS backend, click the 'Update Cache' feature at the bottom of the left-hand menu to refresh the system cache.If it still does not display, please check whether the Logo file has been successfully uploaded and whether the code that calls the Logo in the template is correct.

2. Can the link of the record number be customized to other pages?

Of Security CMS{% system with name="SiteIcp" %}The label is generated by default based on the filing number to create a standard link to the Ministry of Industry and Information Technology's government service platform. If you have special requirements to link to other pages, you can manually modify the template in the<a>label'shrefProperty, but please note that this may affect the display of the website's compliance.

3. Where should the calling code for these Logo and record information be placed in the website template?

The website logo is usually placed in the header part of the website, or on the websitebase.htmlIn the main template file, this can be displayed uniformly on all pages.The record information is conventionally placed at the footer of the website, ensuring it is visible at the bottom of all web pages.This helps maintain the consistency of the website layout and user experience.