Improve styling

This commit is contained in:
danpros 2024-10-09 22:00:23 +07:00
commit fcb013948c
2 changed files with 4 additions and 4 deletions

View file

@ -454,10 +454,10 @@ function edit_content($title, $tag, $url, $content, $oldfile, $revertPost, $publ
$postdate = strtotime($timestamp);
// The post URL
if (config('permalink.type') == 'post') {
$posturl = site_url() . 'post/' . $post_url;
} else {
if (permalink_type() == 'default') {
$posturl = site_url() . date('Y/m', $postdate) . '/' . $post_url;
} else {
$posturl = site_url() . permalink_type() . '/' . $post_url;
}
save_tag_i18n($post_tag, $post_tagmd);

File diff suppressed because one or more lines are too long