Packages

SEO optimization tools for Phoenix and Phoenix LiveView applications

Current section

Files

Jump to
phoenix_seo_tools lib page_meta.ex
Raw

lib/page_meta.ex

defmodule PhoenixSEOTools.PageMeta do
@moduledoc """
A struct representing HTML meta tags for SEO purposes.
This struct is used by the `PhoenixSEOTools.SEO` module to generate the necessary
meta tags for your pages and is consumed by the `PhoenixSEOTools.Components.Head`
component.
## Fields
* `:name` - The name/property of the meta tag
* `:content` - The content value of the meta tag
"""
defstruct name: nil,
content: nil
end