Serum.Project (serum v1.5.1) View Source

This module defines a struct for storing Serum project metadata.

Link to this section Summary

Functions

Creates a new Project struct using the given map.

Link to this section Types

Specs

t() :: %Serum.Project{
  author: binary(),
  author_email: binary(),
  base_url: binary(),
  date_format: binary(),
  dest: binary(),
  list_title_all: binary(),
  list_title_tag: binary(),
  pagination: boolean(),
  plugins: [Serum.Plugin.plugin_spec()],
  posts_path: binary(),
  posts_per_page: pos_integer(),
  posts_source: binary(),
  preview_length: non_neg_integer(),
  server_root: binary(),
  site_description: binary(),
  site_name: binary(),
  src: binary(),
  tags_path: binary(),
  theme: Serum.Theme.t()
}

Link to this section Functions

Specs

default_date_format() :: binary()
Link to this function

default_list_title_tag()

View Source

Specs

default_list_title_tag() :: binary()

Specs

new(map()) :: t()

Creates a new Project struct using the given map.