scriptorium/rendering/views/single_post

Functions

pub fn full_view(
  db: Database,
  config: Configuration,
) -> fn(CompiledPost) -> Element(Nil)

Generate a view that renders a full post.

pub fn list_view(
  db: Database,
  config: Configuration,
) -> fn(CompiledPost) -> Element(Nil)

Generate a view that renders a post that’s inside of a list.

Search Document