View Source Postex.Post (Postex v0.1.9)

An individual blog post

Summary

Types

t()

@type t() :: %Postex.Post{
  author: binary(),
  body: binary(),
  data: map(),
  date: Date.t(),
  description: binary(),
  filename: term(),
  id: binary(),
  related_posts: [t()],
  tags: [binary()],
  title: binary()
}

Functions

parse!(filename, opts)

@spec parse!(
  binary(),
  keyword()
) :: t()