Entries
GET entries/<id> gives one live entry, in all its languages.
What it has
typeispage,blog,item,section,eventorrecord.templateis always filled. Fall back to yourdefaulttemplate for a key that you have not built.version,routable,parent,sort,published_on,modified_at,updated_at,alternatesandmedia.alternatesgives the address per language, andx-default.- Per language,
locales.<lang>holds:
title, menu_title, breadcrumb_title, path, address, intro, image, image_alt,
seo { description, keywords, robots, canonical, image },
ai { context },
search { text },
blocks [ … ], breadcrumbs [ { title, address } ],
children [ { id, type, title, address, intro, image, published_on, tags } ],
hints { lcp { mobile, desktop } }, json_ld [ … ]Blog posts
blogholdspublished_on,image,table_of_contentsandauthors. Authors are pages, withjob_titleandsame_as.locales.<lang>.tagsis[{name, slug, address}].addressis the overview, filtered on that tag.locales.<lang>.relatedholds summaries, as inchildren. Each one hasby, which ishand,aiorauto. They are already in order, and at most the number of the site.
The related posts that are filled in by themselves follow other posts. So the manifest gives each blog post a related_version. Fetch the post again when version or related_version differs.
What shows
There is one mechanism for blog posts and for the records of every module. Lightbolt works out what an item shows from three levels: the defaults, the choice of the overview page, and the own choice of the item. It only delivers the outcome. Your theme has the final say.
displayon a post or record is{key: true|false}, for its own page.- The blog keys are
image,date,updated,author,reading_time,tags,toc,share,relatedandprev_next. Forprev_next, you pick the previous and next post in the same overview from itschildren, by date. Never by tag. - The keys of a record are
image,f:<field>andr:<relation>.
- The blog keys are
- Every summary of a post or record has
displayanddisplay_own. That is inchildren, inrelated, and in the items ofGET list.displayis its card, worked out.display_ownonly holds its own choices. A blog summary also hasauthors, as[{id, title, address}]. - An overview page has
list_displayandper_page.per_pageis0for your default. locales.<lang>.reading_minutesis on a post, and in each blog summary.- The manifest gives such entries a
display_version. Fetch again when it differs.
Posts
A blog overview is a page with module: "blog". Its posts are its children.
The section posts shows posts anywhere. It has:
source: the id of an overview. With"", it is its own list on an overview, and every overview elsewhere;tag,countandtitle;layout:list,gridorcarousel;more;displayfor its cards. Thedisplay_ownof a card still wins.
Take the posts from your snapshot. On an overview, a section posts without source is where its own list goes. Without such a section, the list comes after the content.
Hints
hints.lcpis the image that was most often painted largest on this address, per device, from your reports. Give itfetchpriority="high"and no lazy loading, unless a section says what loads first.carbonis on entries with an address. It holds the grams of CO₂ for a first visit, its rating, the bytes, and whether the host is green.
Good to know
addressispathwith the ending of the site. Link to that.routable: falsehas no page of its own. Never answer its address as a page.seo.keywordsare focus words for the own check of the CMS, not for the page. The search of the site counts them.ai.contextsays what the page answers, for AI agents. It is public text.search.textis the plain text that the search of the site scores. See Search. It is missing when the page is not searchable in that language.
Also called: page JSON, post JSON, content item, document.
Last changed