diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-18 20:36:11 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2018-12-18 20:36:11 +0100 |
| commit | 5c165db3afcf46060cea8c28b4cb5128a54f9276 (patch) | |
| tree | d12a3b4499dfbb11c8aaf67fda0049ff2326b469 | |
| parent | c3f6ef5b3cc3c7551b695257b739260c53417ffb (diff) | |
| download | wiki-5c165db3afcf46060cea8c28b4cb5128a54f9276.tar.gz wiki-5c165db3afcf46060cea8c28b4cb5128a54f9276.tar.bz2 wiki-5c165db3afcf46060cea8c28b4cb5128a54f9276.zip | |
disable sitemap_full.xml generation if js search_engine is not selected
| -rw-r--r-- | sitemap_full.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sitemap_full.xml b/sitemap_full.xml index 993fe60..9731c17 100644 --- a/sitemap_full.xml +++ b/sitemap_full.xml @@ -2,6 +2,7 @@ layout: none sitemap: false --- +{% if site.search_engine == "js" %} <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> @@ -34,4 +35,5 @@ sitemap: false {% endif %} {% endfor %} </channel> -</rss>
\ No newline at end of file +</rss> +{% endif %}
\ No newline at end of file |
