StandardSite

tcmts.content.StandardSite · #p2uq6443 · interface

A site's posts as a standard.site publication: what tcm publish writes to its account's repository, and what the site's pages say so readers can tell they're its.

import type { StandardRecord } from "#codebase/tcmts/content";

export interface StandardSite {
  /** the account whose repository holds its records */
  did: string;
  publication: StandardRecord;
  /** one for each post */
  documents: StandardRecord[];
  /** where the site says which publication it is (a file of the site, at its root) and what that says: its AT-URI */
  wellKnown: { path: string; text: string };
  /** the `<link rel="site.standard.document">` a post's page has in its `<head>`, by the post's name */
  link(name: string): string;
}

uses

used by