Socket
Socket
Sign inDemoInstall

hexo-generator-seo-xian-sitemap

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hexo-generator-seo-xian-sitemap

SEO-friendly sitemap generator plugin for Hexo


Version published
Weekly downloads
6
increased by20%
Maintainers
1
Install size
4.76 MB
Created
Weekly downloads
 

Readme

Source

hexo-generator-seo-xian-sitemap

Generate SEO-friendly sitemap.

Inspired by XML Sitemap in Yoast Wordpress SEO Plugin (https://yoast.com).

It will generate separated sitemap files for pages, posts, categories, tags and a XSL stylesheet.

Install

$ npm install hexo-generator-seo-xian-sitemap --save

Options

You can configure this plugin in _config.yml.

sitemap:
    path: sitemap.xml
    spath: /sy/

You can exclude tag or category page from the sitemap by adding tag: false or category: false under the sitemap configuration.

sitemap:
    path: sitemap.xml
    spath: /sy/
    tag: false
    category: false
  • path - Index sitemap path.
  • spath - Specify the location where the file generation is stored and not placed in the root directory

Excluding pages or posts

You can exclude pages or posts from the sitemap by adding sitemap: false to the relevant front-matter.

Keywords

FAQs

Last updated on 12 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc