content: update content
voidcannon: style fixes, article layout fixes (check if properties exist)
This commit is contained in:
@@ -7,10 +7,12 @@ import {PagexResourceTransformer} from "pagex";
|
||||
import CollectionContentTransformer from "voidcannon/src/transformers/CollectionContent.transformer.js";
|
||||
import RecentContentTransformer from "voidcannon/src/transformers/RecentContent.transformer.js";
|
||||
import ContentByIdentifierTransformer from "voidcannon/src/transformers/ContentByIdentifier.transformer.js";
|
||||
|
||||
import playground from "../../articles/playground/playground.pagex.js";
|
||||
import playgroundP3 from "../../articles/playground-p3/playground-p3.pagex.js";
|
||||
import playgroundTotk from "../../articles/playground-totk/playground-totk.pagex.js";
|
||||
import recentArticlesPagex from "../recent-articles/recent-articles.pagex.js";
|
||||
import playgroundEmpty from "../../articles/playground-empty/playground-empty.pagex.js";
|
||||
|
||||
import recentArticles from "../recent-articles/recent-articles.pagex.js";
|
||||
|
||||
export default {
|
||||
type: VoidcannonContentType.EDITORIAL,
|
||||
@@ -26,8 +28,8 @@ export default {
|
||||
_transform: ContentByIdentifierTransformer,
|
||||
content_ids: [
|
||||
playground.id,
|
||||
playgroundEmpty.id,
|
||||
playgroundP3.id,
|
||||
playgroundTotk.id
|
||||
],
|
||||
// TODO: implement this
|
||||
content_types: [
|
||||
@@ -70,7 +72,7 @@ export default {
|
||||
label: "View All",
|
||||
target: {
|
||||
type: VoidcannonContentType.EDITORIAL,
|
||||
id: recentArticlesPagex.id
|
||||
id: recentArticles.id
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user