mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-05-04 17:12:04 +00:00
Signed-off-by: Traxus <shyidx@gmail.com>
This commit is contained in:
parent
2f5bf25d71
commit
2a70f987f9
@ -1,5 +1,5 @@
|
||||
import cms from 'lib/cms'
|
||||
import { BlogPostRecord } from 'lib/cms/generated'
|
||||
//import { BlogPostRecord } from 'lib/cms/generated'
|
||||
import {
|
||||
getBlogPosts as serverGetBlogPosts,
|
||||
getBlogPostsCategories as serverGetBlogPostsCategories
|
||||
@ -269,7 +269,8 @@ function getBlogJsonDirectoryPath() {
|
||||
|
||||
function pluckBlogPostData(json : any) {
|
||||
|
||||
let plucked : BlogPostRecord = {};
|
||||
//let plucked : BlogPostRecord = {};
|
||||
let plucked : any = {};
|
||||
|
||||
if('data' in json){
|
||||
if('blogPost' in json.data) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user