serum v0.13.0 Serum.Project

This module defines a struct for storing Serum project metadata.

Link to this section Summary

Functions

A helper function for creating a new Project struct.

Link to this section Types

Link to this type

t()
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_per_page: pos_integer(),
  preview_length: non_neg_integer(),
  server_root: binary(),
  site_description: binary(),
  site_name: binary(),
  src: binary()
}

Link to this section Functions

Link to this function

default_date_format()
default_date_format() :: binary()

Link to this function

default_list_title_tag()
default_list_title_tag() :: binary()

Link to this function

new(map)
new(map()) :: t()

A helper function for creating a new Project struct.