Skip to content

Commit 4aa1b6d

Browse files
committed
Put spaces in tags with more than one word
1 parent 9b96395 commit 4aa1b6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

search.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sitemap: false
99
"title" : {{ post.title | jsonify }},
1010
"link" : "{{ site.url }}{{ post.url }}",
1111
"excerpt" : "{{ post.excerpt | markdownify | strip_html | strip_newlines | escape_once | remove: '\[' | remove: '\]' | remove: '\(' | remove: '\)' }}",
12-
"tags": "{{ post.tags }}"
12+
"tags": "{{ post.tags | markdownify | strip_html | strip_newlines | escape_once | remove: '\[' | remove: '\]' | remove: '\(' | remove: '\)' }}"
1313
}
1414
{% endif %}
1515
{% endfor %}
@@ -20,7 +20,7 @@ sitemap: false
2020
"title" : {{ page.title | jsonify }},
2121
"link" : "{{ site.url }}{{ page.url | replace: 'index.html', '' }}",
2222
"excerpt" : "{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}",
23-
"tags": "{{ post.tags }}"
23+
"tags": "{{ post.tags | markdownify | strip_html | strip_newlines | escape_once | remove: '\[' | remove: '\]' | remove: '\(' | remove: '\)' }}"
2424

2525
}
2626
{%endif%}

0 commit comments

Comments
 (0)