Skip to content

Generate Sitemap v1.0.0

Compare
Choose a tag to compare
@cicirello cicirello released this 31 Jul 20:19
· 446 commits to master since this release
be0db52

Generate Sitemap v1.0.0

About

This action generates a sitemap for a website hosted on GitHub Pages. It supports both xml and txt sitemaps. When generating an xml sitemap, it uses the last commit date of each file to generate the <lastmod> tag in the sitemap entry. It can include html as well as pdf files in the sitemap, and has inputs to control the included file types (defaults include both html and pdf files in the sitemap). It skips over html files that contain <meta name="robots" content="noindex">. It otherwise does not currently attempt to respect a robots.txt file.