summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-18 20:36:11 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-18 20:36:11 +0100
commit5c165db3afcf46060cea8c28b4cb5128a54f9276 (patch)
treed12a3b4499dfbb11c8aaf67fda0049ff2326b469
parentc3f6ef5b3cc3c7551b695257b739260c53417ffb (diff)
downloadwiki-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.xml4
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