@factor/plugin-blog
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -18,3 +18,3 @@ import { addPostType, addContentRoute } from "@factor/api" | ||
const page = parseInt(params.page ?? query.page ?? 1) | ||
const limit = page === 1 ? setting("blog.limit") - 1 : setting("blog.limit") | ||
const limit = setting("blog.limit") | ||
@@ -29,5 +29,3 @@ await requestPostIndex({ | ||
limit, | ||
conditions: { | ||
source: setting("package.name") | ||
} | ||
sameSource: true | ||
}) | ||
@@ -34,0 +32,0 @@ } |
{ | ||
"name": "@factor/plugin-blog", | ||
"description": "Easily implement, customize and manage blog in your Factor app.", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"license": "GPL-2.0", | ||
@@ -19,3 +19,3 @@ "factor": { | ||
}, | ||
"gitHead": "c6bd50a76aa641e7afea39ab80d4a37b7465190a", | ||
"gitHead": "86ae26c93989e39aa50a050417f521d16f2df6ba", | ||
"keywords": [ | ||
@@ -22,0 +22,0 @@ "factor", |
323074
103