metatags v0.1.0 Metatags

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

Summary

Functions

turns metadata information into HTML tags

Puts a key and a value in the metadata store

Functions

put(conn, key, value)
put(map, atom, string | map) :: struct
put(map, string, string | map) :: struct

Puts a key and a value in the metadata store

example:

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