Skip to content

generate-sitemap, v1.3.0

Compare
Choose a tag to compare
@cicirello cicirello released this 09 Sep 19:24
· 370 commits to master since this release
6b09cdf

generate-sitemap, v1.3.0

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. The sitemap entries are sorted in a consistent order (primary sort is by depth of page in site, and URLs at same depth are then sorted alphabetically).

[1.3.0] - 2020-9-9

Changed

  • URL sort order updated (primary sort is by depth of page in site, and URLs at same depth are then sorted alphabetically)
  • URL sorting and URL filtering (skipping html files with meta robots noindex directives) is now implemented in Python