Public Security Record
Rspress Theme AIm provides built-in public security record information display functionality to meet Chinese compliance requirements.
Configuration Method
Add public security record configuration in themeConfig of rspress.config.ts:
Configuration Options
Display Effect
When configured, the public security record information will be displayed at the bottom of the page, following the ICP record information, in the format:
The public security record number will be automatically linked to the Ministry of Public Security record query website.
Usage Examples
Example 1: Enable Public Security Record Display
Example 2: Disable Public Security Record Display
Or simply do not configure gonganNumber.
Notes
- The public security record information is only displayed when
gonganNumberis configured and not empty - The link for public security record query points to the official MPS website:
https://beian.mps.gov.cn/ - The public security icon is automatically included and does not need to be configured separately
- Make sure to use the correct public security record number format