Skip to content

Commit cab9173

Browse files
authored
Merge pull request #193 from basiljs/develop
lunr hotfix
2 parents cb818bd + f1ad91a commit cab9173

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_source/reference/lunrjs.data.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
[{%- for element in site.data.cats-and-subcats -%}{%- for ele in element -%}{%- for entry in ele.entries -%}{%- assign eid = entry.name | downcase -%} { "id":"{{eid}}","name":"{{entry.name }}","codetitle":"{{ entry.codetitle }}","description":"{{entry.description | markdownify | strip_html | strip_newlines | escape}}","href":"/reference/{{ele.cat}}/{{entry.name}}.html","summary":"{%- if entry.summary != null -%}{{- entry.summary | strip_newlines | escape -}}{%- else -%}{{ entry.description | truncate: 150, '...' | markdownify | strip_html | strip_newlines | escape }}
4+
{%- endif -%}" } {%- if forloop.last != true -%},{%-endif-%}{%- endfor -%}{%- if forloop.last != true -%},{%-endif-%}{%- endfor -%}{%- if forloop.last != true -%},{%-endif-%}{%- endfor -%}]

0 commit comments

Comments
 (0)