mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-01-18 12:24:08 +00:00
Set follwoing variable in env to enable the changeover: NEXT_PUBLIC_DATOCMS_BYPASS_TYPE="local_json" Setting the above env variable to anything else will revert the site to pulling from datocms, assuming the account is still active with them. Look for any comment tagged with NEXT_PUBLIC_DATOCMS_BYPASS to see where the intercepts occur Signed-off-by: Traxus <shyidx@gmail.com>
148 lines
3.6 KiB
JSON
148 lines
3.6 KiB
JSON
{
|
|
"data": {
|
|
"blogPost": {
|
|
"slug": "blog-post-slug",
|
|
"title": "Blog Post Title",
|
|
"date": "2023-04-17",
|
|
"category": [
|
|
{
|
|
"id": "1111111",
|
|
"slug": "category-a-slug",
|
|
"title": "Category A Title"
|
|
},
|
|
{
|
|
"id": "2222222",
|
|
"slug": "category-b-slug",
|
|
"title": "Category B Title"
|
|
}
|
|
],
|
|
"author": {
|
|
"id": "12345678",
|
|
"name": "Author Name"
|
|
},
|
|
"image": {
|
|
"url": "/images/site_content/blogPost/blog-post-slug.png"
|
|
},
|
|
"content": {
|
|
"blocks": [],
|
|
"links": [],
|
|
"value": {
|
|
"schema": "dast",
|
|
"document": {
|
|
"type": "root",
|
|
"children": [
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "span",
|
|
"value": "Main content, stored in the obtuse JSON markup format pulled from datocms."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "paragraph",
|
|
"children": [
|
|
{
|
|
"type": "span",
|
|
"value": "This is how you make "
|
|
},
|
|
{
|
|
"url": "https://google.com",
|
|
"meta": [
|
|
{
|
|
"id": "target",
|
|
"value": "_blank"
|
|
}
|
|
],
|
|
"type": "link",
|
|
"children": [
|
|
{
|
|
"type": "span",
|
|
"value": "a link to Google."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"featured": false,
|
|
"id": "12345678",
|
|
"_status": "published",
|
|
"_seoMetaTags": [
|
|
{
|
|
"attributes": null,
|
|
"content": "Blog Post Title",
|
|
"tag": "title"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"property": "og:title",
|
|
"content": "Blog Post Title"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"name": "twitter:title",
|
|
"content": "Blog Post Title"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"property": "og:image",
|
|
"content": "/images/site_content/blogPost/blog-post-slug.png?auto=format&fit=max&w=1200"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"name": "twitter:image",
|
|
"content": "/images/site_content/blogPost/blog-post-slug.png?auto=format&fit=max&w=1200"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"property": "og:locale",
|
|
"content": "en"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"property": "og:type",
|
|
"content": "article"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"property": "article:modified_time",
|
|
"content": "1999-09-09T00:00:00Z"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
},
|
|
{
|
|
"attributes": {
|
|
"name": "twitter:card",
|
|
"content": "summary"
|
|
},
|
|
"content": null,
|
|
"tag": "meta"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |