DPDK Architecture  ->  Bootstrap (v3.0.5)

Sitemap
>= v1.25.3

Simple sitemap.xml middleware for Express

Features

  • Generates /sitemap.xml, and /[lang]/sitemap.xml
  • Includes the default function with configuration from the application config

Bootstrap

Config

No config implemented

Implementation

const sitemap = require('./middleware/sitemap');

this.server.use(sitemap(this, this.config.sitemap));

Usage

Config

{
  "sitemap": {
    "useDrupalRoutes": false,
    "languages": []
  }
}

Links

No links available

Last modifiedFriday, April 30, 2021, 12:00:21 PM UTC
Last authorColin van Eenige
Commit ID4c7a701