Skip to content

Commit

Permalink
chore: fix wrong slug prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
h404bi authored Aug 18, 2018
1 parent 3303b43 commit d93af07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/Widget/Options/Permalink.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function form()

$patterns = array('/archives/[cid:digital]/' => _t('默认风格') . ' <code>/archives/{cid}/</code>',
'/archives/[slug].html' => _t('wordpress风格') . ' <code>/archives/{slug}.html</code>',
'/[year:digital:4]/[month:digital:2]/[day:digital:2]/[slug].html' => _t('按日期归档') . ' <code>/archives/{year}/{month}/{day}/{slug}.html</code>',
'/[year:digital:4]/[month:digital:2]/[day:digital:2]/[slug].html' => _t('按日期归档') . ' <code>/{year}/{month}/{day}/{slug}.html</code>',
'/[category]/[slug].html' => _t('按分类归档') . ' <code>/{category}/{slug}.html</code>');

/** 自定义文章路径 */
Expand Down

0 comments on commit d93af07

Please sign in to comment.