diff --git a/README.md b/README.md index 7f8be21..3147656 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ 精简部分 JS. - 2024.7.4 -把分类图片以`mid.jpg`的形式在主题`img`目录下,自动匹配 +把分类图片以`mid.png`的形式在主题`/dist/img`目录下,自动匹配 - 2024.6.12 diff --git a/dist/img/1.jpg b/dist/img/1.jpg new file mode 100644 index 0000000..80e57cb Binary files /dev/null and b/dist/img/1.jpg differ diff --git a/dist/img/2.jpg b/dist/img/2.jpg new file mode 100644 index 0000000..8da1412 Binary files /dev/null and b/dist/img/2.jpg differ diff --git a/dist/img/3.jpg b/dist/img/3.jpg new file mode 100644 index 0000000..85c9a12 Binary files /dev/null and b/dist/img/3.jpg differ diff --git a/dist/img/4.jpg b/dist/img/4.jpg new file mode 100644 index 0000000..128b8fd Binary files /dev/null and b/dist/img/4.jpg differ diff --git a/dist/img/404.png b/dist/img/404.png new file mode 100644 index 0000000..c5fb46b Binary files /dev/null and b/dist/img/404.png differ diff --git a/dist/img/477.jpg b/dist/img/477.jpg new file mode 100644 index 0000000..cff8ce5 Binary files /dev/null and b/dist/img/477.jpg differ diff --git a/dist/img/5.jpg b/dist/img/5.jpg new file mode 100644 index 0000000..ef42e30 Binary files /dev/null and b/dist/img/5.jpg differ diff --git a/dist/img/6.jpg b/dist/img/6.jpg new file mode 100644 index 0000000..fbc1d9f Binary files /dev/null and b/dist/img/6.jpg differ diff --git a/page-categories.php b/page-categories.php index 29f7096..99ca984 100644 --- a/page-categories.php +++ b/page-categories.php @@ -20,7 +20,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> // 获取主题URL $themeUrl = $this->options->themeUrl; // 为每个分类生成图片地址 - $categoryImage = $themeUrl . 'img/' . $categoryId . '.jpg'; + $categoryImage = $themeUrl . '/dist/img/' . $categoryId . '.jpg'; ?>
<?php $categories->name(); ?>