This commit is contained in:
hwy0127@gmail.com
2019-06-17 21:25:18 +08:00
Unverified
parent 79971d49db
commit 5a3363e0e4
37 changed files with 2955 additions and 418 deletions

View File

@@ -104,9 +104,10 @@ if theme.qihu_site_verification
meta(name="360-site-verification" content=theme.qihu_site_verification)
if (is_archive())
- var preload_img = theme.archive_img ||theme.top_img || config.top_img
- var preload_archive_img = theme.archive_img ||theme.top_img || config.top_img
- var preload_img = page.top_img || theme.top_img || config.top_img
if (is_archive() && preload_archive_img)
link(rel="preload" href=preload_img as="image" )
else if (!is_post())
- var preload_img = page.top_img||theme.top_img || config.top_img
else if (!is_post() && preload_img)
link(rel="preload" href=preload_img as="image" )