metatags v0.1.1 Metatags

Metatags is used to provide an easy api to print out context-specific metatags.

Link to this section Summary

Functions

turns metadata information into HTML tags

Puts a key and a value in the metadata store

Link to this section Functions

Link to this function put(conn, key, value)
put(map, atom, String.t | map) :: struct
put(map, String.t, String.|(map)) :: struct

Puts a key and a value in the metadata store

example:

iex> %{metadata: %{}} |> Metatags.put("title", "Welcome!")
  %{metadata: %{"title" => "Welcome!"}}