Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
tremolite
master
Colorize
Dir
Float
Markdown
Parser
String
Time
Tremolite
Blog
DataManager
HtmlBuffer
ImageResizer
MarkdownWrapper
ModWatcher
ModHash
Post
PostCollection
Renderer
Uploader
Validator
Views
AbstractView
BaseView
RobotGenerator
SiteMapGenerator
Built with Crystal 1.9.2
2023-10-08 10:25:21 UTC
class
Tremolite::Views::SiteMapGenerator
Tremolite::Views::SiteMapGenerator
Tremolite::Views::AbstractView
Reference
Object
Defined in:
tremolite/views/sitemap_generator.cr
Constant Summary
Log
=
::
Log
.
for
(
self
)
Constructors
.new
(blog : Tremolite::Blog, url : String =
"/sitemap.xml"
)
Instance Method Summary
#content
#footer
#header
#output
#sitemap_content
#sitemap_url
(url : String)
#to_xml
#url
: String
Instance methods inherited from class
Tremolite::Views::AbstractView
add_to_sitemap?
add_to_sitemap?
Constructor Detail
def self.
new
(blog :
Tremolite::Blog
, url :
String
=
"/sitemap.xml"
)
#
[
View source
]
Instance Method Detail
def
content
#
[
View source
]
def
footer
#
[
View source
]
def
header
#
[
View source
]
def
output
#
[
View source
]
def
sitemap_content
#
[
View source
]
def
sitemap_url
(url :
String
)
#
[
View source
]
def
to_xml
#
[
View source
]
def
url
:
String
#
[
View source
]