Insert Custom Code
Configuration Item `inject`
Configuration Item: inject
This feature allows you to insert custom code into your page, such as tracking code, click styles, and various CSS/JS code.
Configuration
In the Redefine theme configuration file _config.redefine.yml, you can configure the following options in the inject section:
enable: Whether to enable this feature. Set totrueto enable,falseto disable.head: Code to be inserted into the page header, such as tracking code.footer: Code to be inserted into the page footer, such as click styles.
Last updated on
Article Expiration Reminder
Previous Page
CDN Acceleration
Content Delivery Network (CDN) is a distributed system that stores content on servers closest to the users, thereby improving the speed and performance of accessing websites. CDN forwards user requests to the nearest server instead of the website's origin server. This reduces the load on the origin server and improves the speed of accessing the website for users.
