From d93af07d31eff67b20098b2b9a3f49ebf78bf822 Mon Sep 17 00:00:00 2001 From: Chawye Hsu Date: Sat, 18 Aug 2018 17:27:29 +0800 Subject: [PATCH] chore: fix wrong slug prompt --- var/Widget/Options/Permalink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/Widget/Options/Permalink.php b/var/Widget/Options/Permalink.php index 41d3bf3e..800617dc 100644 --- a/var/Widget/Options/Permalink.php +++ b/var/Widget/Options/Permalink.php @@ -233,7 +233,7 @@ RewriteRule . {$basePath}index.php [L] $patterns = array('/archives/[cid:digital]/' => _t('默认风格') . ' /archives/{cid}/', '/archives/[slug].html' => _t('wordpress风格') . ' /archives/{slug}.html', - '/[year:digital:4]/[month:digital:2]/[day:digital:2]/[slug].html' => _t('按日期归档') . ' /archives/{year}/{month}/{day}/{slug}.html', + '/[year:digital:4]/[month:digital:2]/[day:digital:2]/[slug].html' => _t('按日期归档') . ' /{year}/{month}/{day}/{slug}.html', '/[category]/[slug].html' => _t('按分类归档') . ' /{category}/{slug}.html'); /** 自定义文章路径 */