Disabling Locksmith for certain theme files
How to tell Locksmith to completely ignore specific files in your theme
Last updated
How to tell Locksmith to completely ignore specific files in your theme
Last updated
Locksmith does its work by adding its code to your theme's files. Sometimes you may want to keep Locksmith from modifying a file in particular, whether it's for a customization, or some other reason.
To support this, Locksmith has a "Liquid assets to ignore" option.
To configure it, head to the "Settings" page:
And then edit the file list under Advanced > Liquid assets to ignore:
Note: Use full file names. (e.g. "sections/collection-list.liquid" or "templates/gift_card.liquid"), and enter them one per line.
Please note: If you need to use the ignore list because Locksmith is causing unexpected problems with your theme, please let us know! Feel free to use the ignore list for any purpose, but do get in touch at team@uselocksmith.com if there's a bug we can help resolve. :)