From bedf54e04283bab02ab565b43fe1ad831bace474 Mon Sep 17 00:00:00 2001 From: uiolee <22849383+uiolee@users.noreply.github.com> Date: Sat, 6 May 2023 19:54:50 +0800 Subject: [PATCH] doc: update `rel` related doc. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e938f26..b9eb689 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ You can configure this plugin in `_config.yml`. ``` yaml sitemap: - path: + path: - sitemap.xml - sitemap.txt template: ./sitemap_template.xml @@ -35,9 +35,10 @@ sitemap: - **path** - Sitemap path. (Default: sitemap.xml) - **template** - Custom template path. This file will be used to generate sitemap.xml (See [default xml template](/sitemap.xml)) - **template_txt** - Custom template path. This file will be used to generate sitemap.txt (See [default txt template](/sitemap.txt)) -- **rel** - Add [`rel-sitemap`](http://microformats.org/wiki/rel-sitemap) to the site's header. (Default: `false`) - **tags** - Add site's tags - **categories** - Add site's categories +- **rel** - Add [`rel-sitemap`](http://microformats.org/wiki/rel-sitemap) to the site's header. (Default: `false`) +- **relPath** - (optional) Specify [`rel-sitemap`](http://microformats.org/wiki/rel-sitemap) path. Unset it to ues the first `.xml` file in `path`. ## Exclude Posts/Pages