图片自动阴影

This commit is contained in:
tangly1024.com
2023-03-14 19:32:54 +08:00
parent 06852ad99e
commit 531aa2f090
6 changed files with 26 additions and 3 deletions

View File

@@ -12,6 +12,12 @@ const ExternalScript = () => {
loadExternalResource(BLOG.FONT_AWESOME, 'css')
loadExternalResource('/css/custom.css', 'css')
loadExternalResource('/js/custom.js', 'js')
// 自动添加图片阴影
if (BLOG.IMG_SHADOW) {
loadExternalResource('/css/img-shadow.css', 'js')
}
if (BLOG.CUSTOM_EXTERNAL_JS && BLOG.CUSTOM_EXTERNAL_JS.length > 0) {
for (const url of BLOG.CUSTOM_EXTERNAL_JS) {
loadExternalResource(url, 'js')