How to display the website logo and filing information?

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


Configure the logo and filing information in the Anqi CMS background

Firstly, you need to log in to the Anqi CMS backend, navigate to the "Backend SettingsThis page collects the basic information configuration of the website, including 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-definition Logo to ensure good display on different devices.

Immediately, you will find the 'Record Number' field.If your website has been registered in the Mainland of China, please accurately fill in your registration number here (for example:京ICP备XXXXXXXX号).The Anqi CMS will automatically generate a link to the Ministry of Industry and Information Technology (MIIT) government service platform when called on the front end, which is crucial for the compliance of the website.

In addition, on this page, you can also configure the "Website 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 Logo and Record Information in Website Template

Configure the background information first, and the next step is to display this information on the website front end.The Anqi CMS uses a template engine syntax similar to Django, allowing you to flexibly control the presentation of website content./templateUnder the directory, you need to edit the corresponding template to insert Logo and Record Information. The system provides a convenientsystemLabel, used specifically to call the background configuration global information.

Display the website logo

The website logo is usually displayed in prominent positions such as the header (header) or footer (footer). To display the logo image on the website, you can usesystema tag to specifyname="SiteLogo". At the same time, it is strongly recommended to add Logo image properties for SEO-friendliness and accessibility,altyou can usename="SiteName"to obtain the website name asalttext.

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

Place this line of code where you want the Logo to appear, for example, on a website,base.htmlorpartial/header.htmlthe Logo will be displayed normally on the website after the template file.

Show the recordation information

The record information is generally displayed in the footer of the website. To maintain compliance and facilitate visitor inquiries, the record number is usually linked to the Ministry of Industry and Information Technology's government service platform. You can usesystema tag to specifyname="SiteIcp"Get the filing 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>

code inrel="nofollow"attribute helps to tell the search engine not to pass weight to the filing link, andtarget="_blank"Open the link in a new tab. The copyright year can be used{% now "2006" %}Dynamically obtain the current year of the label to keep it up-to-date. In addition, you can also use{% system with name="SiteCopyright" %}Tags to display the copyright declaration content preset by the backend to supplement the footer information.


Through the backend configuration and template tags provided by the 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 users with no technical background can get started quickly.

Common Questions (FAQ)

1. After uploading the Logo, the website front-end does not display it or displays the old Logo. What's the matter?

This is usually due to browser cache or system cache.You can try clearing the browser cache or logging into the Anqi CMS backend, clicking 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 registration number be customized to other pages?

Anqi CMS's{% system with name="SiteIcp" %}The label will automatically generate a standard link pointing to the Ministry of Industry and Information Technology's government service platform according to the filing number. If you have special requirements to point to other pages, you can manually modify the template.<a>TagshrefProperties, but please note that this may affect the compliance display of the website.

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 in thebase.htmlIn the master template file, this can be displayed uniformly on all pages.The registration information is habitually placed at the footer part 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.