serum v1.2.0 Serum.Project View Source

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()

View Source
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(),
  theme: Serum.Theme.t()
}

Link to this section Functions

Link to this function

default_date_format()

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

default_list_title_tag()

View Source
default_list_title_tag() :: binary()

A helper function for creating a new Project struct.