Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SEO ¶
type SEO interface { Site(site *model.Site) SEO Page(page *model.Page) SEO Title() string ReverseTitle() string FirstTitle() string SetTitle(title string) SEO AddTitle(title string) SEO Separator() string SetSeparator(separator string) SEO Metas() map[string]map[string]string SetMetas(metas map[string]map[string]string) SEO AddMeta(typ, name, content string) SEO RemoveMeta(typ, name string) SEO HasMeta(typ, name string) bool HTMLAttributes() map[string]string SetHTMLAttributes(attrs map[string]string) SEO AddHTMLAttribute(name, content string) SEO RemoveHTMLAttribute(name string) SEO HasHTMLAttribute(name string) bool HeadAttributes() map[string]string SetHeadAttributes(attrs map[string]string) SEO AddHeadAttribute(name, content string) SEO RemoveHeadAttribute(name string) SEO HasHeadAttribute(name string) bool BodyAttributes() map[string]string SetBodyAttributes(attrs map[string]string) SEO AddBodyAttribute(name, content string) SEO RemoveBodyAttribute(name string) SEO HasBodyAttribute(name string) bool LinkCanonical() string SetLinkCanonical(link string) SEO RemoveLinkCanonical() SEO LangAlternates() map[string]string SetLangAlternates(langAlternates map[string]string) SEO AddLangAlternate(href, hreflang string) SEO RemoveLangAlternate(href string) SEO HasLangAlternate(href string) bool OEmbedLinks() map[string]string AddOEmbedLink(title, link string) SEO }
Click to show internal directories.
Click to hide internal directories.