Socket
Socket
Sign inDemoInstall

@gammastream/scully-plugin-sitemap

Package Overview
Dependencies
310
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gammastream/scully-plugin-sitemap

A Scully postRender plugin for generating xml sitemaps.


Version published
Weekly downloads
635
increased by6.72%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

scully-plugin-sitemap

This postRenderer plugin for Scully that will generate a sitemap.xml for the generated routes.

Installation

To install this library with npm run

$ npm install @gammastream/scully-plugin-sitemap --save-dev

Usage

Add the plugin to the defaultPostRenderers to execute it on all rendered pages:

const {RouteTypes} = require('@scullyio/scully');
const {Sitemap} = require('@gammastream/scully-plugin-sitemap');

const defaultPostRenderers = [Sitemap];

const sitmapOptions = {
};


exports.config = {
  projectRoot: './src/app',
  sitmapOptions,
  defaultPostRenderers,
  routes: {}
};

Build app and run scully like normal.

npm run build
npm run scully

Questions or Issues

If you have any issues you can raise them here or contact me at: GammaStream

Keywords

FAQs

Last updated on 03 Mar 2020

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