fix: percent-encoding for files with %, contentIndex for non-latin chars (closes #397, closes #399)

This commit is contained in:
Jacky Zhao
2023-08-22 23:33:58 -07:00
parent 709ad94180
commit 2ecc650d42
3 changed files with 10 additions and 4 deletions

View File

@ -22,7 +22,7 @@ interface Options {
const defaultOptions: Options = {
enableSiteMap: true,
enableRSS: true,
includeEmptyFiles: false,
includeEmptyFiles: true,
}
function generateSiteMap(cfg: GlobalConfiguration, idx: ContentIndex): string {