# `Literature.StaticPages.Templates`

Behaviour for the `templates` opt for `Literature.StaticPages.Generator`.
Contains the `Phoenix.Component` callbacks for all `Generator.page_types()`.
Also contains placeholder implementations for each page type.

# `authors`
*optional* 

```elixir
@callback authors(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `index`
*optional* 

```elixir
@callback index(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `index_page`
*optional* 

```elixir
@callback index_page(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `show_author`
*optional* 

```elixir
@callback show_author(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `show_author_page`
*optional* 

```elixir
@callback show_author_page(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `show_post`
*optional* 

```elixir
@callback show_post(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `show_tag`
*optional* 

```elixir
@callback show_tag(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `show_tag_page`
*optional* 

```elixir
@callback show_tag_page(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `tags`
*optional* 

```elixir
@callback tags(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
```

# `authors`

# `index`

# `index_page`

# `show_author`

# `show_author_page`

# `show_post`

# `show_tag`

# `show_tag_page`

# `tags`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
