fixed content api tooltips demo

This commit is contained in:
tomjohnson1492
2017-02-10 14:24:00 -08:00
parent 0152400034
commit 06dc9e0e25
9 changed files with 63 additions and 55 deletions

View File

@ -1,5 +1,5 @@
---
layout: none
layout: null
search: exclude
---
@ -8,7 +8,7 @@ search: exclude
[
{% for page in site.tooltips %}
{
"id" : "{{ page.id }}",
"doc_id": "{{ page.doc_id }}",
"body": "{{ page.content | strip_newlines | replace: '\', '\\\\' | replace: '"', '\\"' }}"
} {% unless forloop.last %},{% endunless %}
{% endfor %}