更新
This commit is contained in:
parent
3989e2f08f
commit
514662f407
@ -2,7 +2,7 @@
|
||||
/* 获取主题当前版本号 */
|
||||
function _getVersion()
|
||||
{
|
||||
return "6.0.9";
|
||||
return "6.1.0";
|
||||
};
|
||||
|
||||
/* 判断是否是手机 */
|
||||
|
@ -55,6 +55,7 @@ function _getPost($self)
|
||||
$sticky_arr = explode("||", $sticky_text);
|
||||
foreach ($sticky_arr as $cid) {
|
||||
$self->widget('Widget_Archive@' . $cid, 'pageSize=1&type=post', 'cid=' . $cid)->to($item);
|
||||
if ($item->next()) {
|
||||
$result[] = array(
|
||||
"mode" => $item->fields->mode ? $item->fields->mode : 'default',
|
||||
"image" => _getThumbnails($item),
|
||||
@ -72,6 +73,7 @@ function _getPost($self)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
$self->widget('Widget_Contents_Sort', 'page=' . $page . '&pageSize=' . $pageSize . '&type=' . $type)->to($item);
|
||||
while ($item->next()) {
|
||||
$result[] = array(
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "typecho-joe-next",
|
||||
"version": "6.0.9",
|
||||
"version": "6.1.0",
|
||||
"description": "A Theme Of Typecho",
|
||||
"main": "index.php",
|
||||
"keywords": [
|
||||
|
Loading…
Reference in New Issue
Block a user