Current section
Files
Jump to
Current section
Files
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