-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathsearch.xml
More file actions
25 lines (25 loc) · 740 Bytes
/
search.xml
File metadata and controls
25 lines (25 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: null
sitemap: false
---
<?xml version="1.0" encoding="utf-8"?>
<search>
{% for post in site.posts %}
<entry>
<title><![CDATA[{{ post.title | strip_html }}]]></title>
<url>{{ post.url | relative_url }}</url>
<content type="text"><![CDATA[{{ post.content | strip_html | strip_newlines }}]]></content>
<categories>
{% for category in post.categories %}
<category> {{ category | strip_html | xml_escape }} </category>
{% endfor %}
</categories>
<tags>
{% for tag in post.tags %}
<tag> {{ tag | strip_html | xml_escape }} </tag>
{% endfor %}
</tags>
<tags></tags>
</entry>
{% endfor %}
</search>