Skip to content

abecms/abe-sitemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abe-sitemap

plugin to generate sitemap.xml

abe install abecms/abe-sitemap

config

 "sitemap": {
  	"domain": "http://localhost:8000/",
  	"sitemapName": "index_sitemap.xml",
  	"priorities": {
  	  "article": "0.5"
  	},
  	"folders": {
  	  "regex": "^\/([a-zA-z-]*?)\/",
  	  "sitemapName": "directory-sitemap-$1.xml"
  	}
  }

Mandatory config:

  • domain

Optional config:

  • sitemapName (change default sitemap.xml name)
  • priorities (key/value = template name/priority number)
  • folders (to split sitemap into multiple files)
    • regex (the regex to extract folder)
    • sitemapName (name with "$1" to replace with folder name for example)

Route to generate sitemap manually

go to /abe/plugin/abe-sitemap/generate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •