为保证加载速度删除不常用语言

This commit is contained in:
若海 2022-04-23 00:01:51 +08:00
parent 5bcd771174
commit e09472022d
3 changed files with 12 additions and 293 deletions

View File

@ -71,7 +71,7 @@ class Prismjs_Plugin implements Typecho_Plugin_Interface
public static function header()
{
$cssUrl = Helper::options()->pluginUrl . '/Prismjs/src/prism.css';
echo '<link rel="stylesheet" type="text/css" href="' . $cssUrl . '?v4" />';
echo '<link rel="stylesheet" type="text/css" href="' . $cssUrl . '?v5" />';
}
/**
@ -84,7 +84,7 @@ class Prismjs_Plugin implements Typecho_Plugin_Interface
public static function footer()
{
$jsUrl = Helper::options()->pluginUrl . '/Prismjs/src/prism.js';
echo '<script type="text/javascript" src="' . $jsUrl . '?v4"></script>';
echo '<script type="text/javascript" src="' . $jsUrl . '?v5"></script>';
}
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long