search-index.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "keys": [
  3. {
  4. "path": [
  5. "title"
  6. ],
  7. "id": "title",
  8. "weight": 1,
  9. "src": "title",
  10. "getFn": null
  11. },
  12. {
  13. "path": [
  14. "content"
  15. ],
  16. "id": "content",
  17. "weight": 1,
  18. "src": "content",
  19. "getFn": null
  20. }
  21. ],
  22. "records": [
  23. {
  24. "i": 0,
  25. "$": {
  26. "0": {
  27. "v": "Home",
  28. "n": 1
  29. },
  30. "1": {
  31. "v": "---\nlayout: base\ntitle: Home\n---\n\n# Welcome to My Static Site\n\nThis is the homepage content.\n\n",
  32. "n": 0.289
  33. }
  34. }
  35. },
  36. {
  37. "i": 1,
  38. "$": {
  39. "0": {
  40. "v": "Page 1",
  41. "n": 0.707
  42. },
  43. "1": {
  44. "v": "---\nlayout: base\ntitle: Page 1\n---\n\n# Page 1\n\nThis is the content of page 1.\n\n",
  45. "n": 0.289
  46. }
  47. }
  48. },
  49. {
  50. "i": 2,
  51. "$": {
  52. "0": {
  53. "v": "Page 2",
  54. "n": 0.707
  55. },
  56. "1": {
  57. "v": "---\nlayout: base\ntitle: Page 2\n---\n\n# Page 2\n\nThis is the content of page 2.\n\n",
  58. "n": 0.289
  59. }
  60. }
  61. },
  62. {
  63. "i": 3,
  64. "$": {
  65. "0": {
  66. "v": "Search",
  67. "n": 1
  68. },
  69. "1": {
  70. "v": "---\nlayout: base\ntitle: Search\npermalink: /search/\nsearchIndex: {{ collections.searchIndex | jsonify }}\n---\n<div>\n <input type=\"text\" id=\"search-input\" placeholder=\"Search...\">\n <ul id=\"results\"></ul>\n</div>\n<script src=\"https://cdn.jsdelivr.net/npm/fuse.js\"></script>\n<script src=\"/js/search.js\"></script>\n",
  71. "n": 0.243
  72. }
  73. }
  74. }
  75. ]
  76. }