thesis v0.0.21 Thesis.EctoStore

Thesis.EctoStore is the most commonly-used store for Thesis pages and content. It interfaces with the host application’s repo (which is provided in the config.exs of the host applicaton).

You can generally just use Thesis.EctoStore unless you’re not using Ecto in your project or you want to do something custom with how Thesis is handling its data.

Summary

Functions

Callback implementation for Thesis.Store.delete/1

Callback implementation for Thesis.Store.page/1

Functions

delete(map)

Callback implementation for Thesis.Store.delete/1.

page(slug)

Callback implementation for Thesis.Store.page/1.

page_contents(slug)

Callback implementation for Thesis.Store.page_contents/1.

update(page_params, contents_params)

Callback implementation for Thesis.Store.update/2.