This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
site/src/pages/search-index.njk
Maxim Slipenko 2323e20344
All checks were successful
continuous-integration/drone/push Build is passing
Создает главную страницу (#6)
- добавляет поиск на главную страницу
- добавляет alpine.js и fuse.js
- добавляет генерацию /search-index.json

Co-authored-by: Maxim Slipenko <maxim@slipenko.com>
Reviewed-on: #6
Fix: #1
2022-05-19 05:59:40 +00:00

7 lines
157 B
Plaintext

[
{% for note in notes %}
{
"title":"{{ note.title }}",
"url":"{{ note.url | url }}"
}{% if loop.last == false %},{% endif %} {% endfor %}
]