module Globals::Renders

Extended Modules

Defined in:

app/globals/renders/base.cr
app/globals/renders/robots.cr
app/globals/renders/sitemap.cr

Instance Method Summary

Instance Method Detail

def base(lang_code : String, meta_title, meta_description, header : String, content : String, footer : String, styles : Array(String), scripts : Array(String)) : String #

[View source]
def base_content : String #

[View source]
def base_footer(contact_email, contact_phone) : String #

[View source]
def base_header(logo, brand, slogan) : String #

[View source]
def robots(host : String, scheme : String) : String #

[View source]
def sitemap(items : Array(NamedTuple(loc: String, lastmod: String, changefreq: String, priority: Float64))) : String #

[View source]