hexo-generator-urllist

1.0.1 • Public • Published

hexo-generator-urllist

Generate urllist.txt sitemap.

urllist.txt is an old type of sitemap once used by Yahoo. It's simply a text file with URL lists of all your Website Pages in plain text one per line.

I realize that it's not needed if you have a sitemap.xml file. However, I prefer to serve a small text file rather than a 404 page. This is especially true if your 404 page is a custom page with heavier html, css, and JavaScript.

Install

$ npm install hexo-generator-urllist --save

Options

You can configure this plugin in _config.yml.

sitemap:
    category: false
    tag: false
  • category - Boolean to include categories in the urllist sitemap. This was deliberatley set the same as config for hexo-generator-seo-friendly-sitemap. (Default: true)
  • tag - Boolean to include tags in the urllist sitemap. This was deliberatley set the same as config for hexo-generator-seo-friendly-sitemap. (Default: true)

Excluding Posts

Add sitemap: false to the post's front matter.

Package Sidebar

Install

npm i hexo-generator-urllist

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.65 kB

Total Files

4

Last publish

Collaborators

  • freak3dot