creek-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +81 -0
  4. data/_config.yml +306 -0
  5. data/_data/README.md +3 -0
  6. data/_data/navigation/docs.yml +56 -0
  7. data/_data/navigation/main.yml +12 -0
  8. data/_data/navigation.yml +68 -0
  9. data/_data/ui-text.yml +2024 -0
  10. data/_includes/analytics-providers/custom.html +3 -0
  11. data/_includes/analytics-providers/google-gtag.html +9 -0
  12. data/_includes/analytics-providers/google-universal.html +7 -0
  13. data/_includes/analytics-providers/google.html +14 -0
  14. data/_includes/analytics.html +14 -0
  15. data/_includes/archive-single.html +30 -0
  16. data/_includes/author-profile-custom-links.html +7 -0
  17. data/_includes/author-profile.html +246 -0
  18. data/_includes/breadcrumbs.html +40 -0
  19. data/_includes/browser-upgrade.html +2 -0
  20. data/_includes/category-list.html +19 -0
  21. data/_includes/comment.html +22 -0
  22. data/_includes/comments-providers/custom.html +3 -0
  23. data/_includes/comments-providers/custom_scripts.html +3 -0
  24. data/_includes/comments-providers/discourse.html +13 -0
  25. data/_includes/comments-providers/disqus.html +15 -0
  26. data/_includes/comments-providers/facebook.html +8 -0
  27. data/_includes/comments-providers/giscus.html +24 -0
  28. data/_includes/comments-providers/scripts.html +20 -0
  29. data/_includes/comments-providers/staticman.html +40 -0
  30. data/_includes/comments-providers/staticman_v2.html +40 -0
  31. data/_includes/comments-providers/utterances.html +21 -0
  32. data/_includes/comments.html +180 -0
  33. data/_includes/documents-collection.html +15 -0
  34. data/_includes/feature_row +41 -0
  35. data/_includes/figure +9 -0
  36. data/_includes/footer/custom.html +3 -0
  37. data/_includes/footer.html +21 -0
  38. data/_includes/gallery +35 -0
  39. data/_includes/group-by-array +47 -0
  40. data/_includes/head/custom.html +15 -0
  41. data/_includes/head.html +25 -0
  42. data/_includes/masthead.html +35 -0
  43. data/_includes/nav_list +26 -0
  44. data/_includes/page__date.html +6 -0
  45. data/_includes/page__hero.html +55 -0
  46. data/_includes/page__hero_video.html +2 -0
  47. data/_includes/page__meta.html +31 -0
  48. data/_includes/page__taxonomy.html +7 -0
  49. data/_includes/paginator.html +69 -0
  50. data/_includes/post_pagination.html +14 -0
  51. data/_includes/posts-category.html +5 -0
  52. data/_includes/posts-tag.html +5 -0
  53. data/_includes/scripts.html +28 -0
  54. data/_includes/search/algolia-search-scripts.html +62 -0
  55. data/_includes/search/google-search-scripts.html +30 -0
  56. data/_includes/search/lunr-search-scripts.html +10 -0
  57. data/_includes/search/search_form.html +26 -0
  58. data/_includes/seo.html +158 -0
  59. data/_includes/sidebar.html +19 -0
  60. data/_includes/skip-links.html +7 -0
  61. data/_includes/social-share.html +11 -0
  62. data/_includes/tag-list.html +19 -0
  63. data/_includes/toc +7 -0
  64. data/_includes/toc.html +182 -0
  65. data/_includes/video +24 -0
  66. data/_layouts/archive-taxonomy.html +29 -0
  67. data/_layouts/archive.html +26 -0
  68. data/_layouts/categories.html +43 -0
  69. data/_layouts/category.html +10 -0
  70. data/_layouts/collection.html +10 -0
  71. data/_layouts/compress.html +10 -0
  72. data/_layouts/default.html +41 -0
  73. data/_layouts/home.html +22 -0
  74. data/_layouts/posts.html +30 -0
  75. data/_layouts/search.html +42 -0
  76. data/_layouts/single.html +95 -0
  77. data/_layouts/splash.html +22 -0
  78. data/_layouts/tag.html +10 -0
  79. data/_layouts/tags.html +43 -0
  80. data/_pages/404.html +26 -0
  81. data/_sass/minimal-mistakes/_animations.scss +21 -0
  82. data/_sass/minimal-mistakes/_archive.scss +463 -0
  83. data/_sass/minimal-mistakes/_base.scss +339 -0
  84. data/_sass/minimal-mistakes/_buttons.scss +97 -0
  85. data/_sass/minimal-mistakes/_footer.scss +85 -0
  86. data/_sass/minimal-mistakes/_forms.scss +359 -0
  87. data/_sass/minimal-mistakes/_masthead.scss +93 -0
  88. data/_sass/minimal-mistakes/_mixins.scss +92 -0
  89. data/_sass/minimal-mistakes/_navigation.scss +573 -0
  90. data/_sass/minimal-mistakes/_notices.scss +109 -0
  91. data/_sass/minimal-mistakes/_page.scss +578 -0
  92. data/_sass/minimal-mistakes/_print.scss +252 -0
  93. data/_sass/minimal-mistakes/_reset.scss +187 -0
  94. data/_sass/minimal-mistakes/_search.scss +132 -0
  95. data/_sass/minimal-mistakes/_sidebar.scss +353 -0
  96. data/_sass/minimal-mistakes/_syntax.scss +324 -0
  97. data/_sass/minimal-mistakes/_tables.scss +39 -0
  98. data/_sass/minimal-mistakes/_utilities.scss +593 -0
  99. data/_sass/minimal-mistakes/_variables.scss +173 -0
  100. data/_sass/minimal-mistakes/skins/_air.scss +23 -0
  101. data/_sass/minimal-mistakes/skins/_aqua.scss +34 -0
  102. data/_sass/minimal-mistakes/skins/_contrast.scss +52 -0
  103. data/_sass/minimal-mistakes/skins/_dark.scss +30 -0
  104. data/_sass/minimal-mistakes/skins/_default.scss +5 -0
  105. data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
  106. data/_sass/minimal-mistakes/skins/_mint.scss +24 -0
  107. data/_sass/minimal-mistakes/skins/_neon.scss +63 -0
  108. data/_sass/minimal-mistakes/skins/_plum.scss +70 -0
  109. data/_sass/minimal-mistakes/skins/_sunrise.scss +49 -0
  110. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
  111. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
  112. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
  113. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
  114. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
  115. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
  116. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
  117. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
  118. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
  119. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
  120. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
  121. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
  122. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
  123. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
  124. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
  125. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
  126. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
  127. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
  128. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
  129. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
  130. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
  131. data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
  132. data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
  133. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
  134. data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
  135. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
  136. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
  137. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
  138. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
  139. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
  140. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
  141. data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
  142. data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
  143. data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
  144. data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
  145. data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
  146. data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
  147. data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
  148. data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
  149. data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
  150. data/_sass/minimal-mistakes.scss +40 -0
  151. data/assets/css/main.scss +9 -0
  152. data/assets/images/android-chrome-192x192.png +0 -0
  153. data/assets/images/android-chrome-512x512.png +0 -0
  154. data/assets/images/apple-touch-icon.png +0 -0
  155. data/assets/images/browserconfig.xml +9 -0
  156. data/assets/images/creek-logo.png +0 -0
  157. data/assets/images/favicon-16x16.png +0 -0
  158. data/assets/images/favicon-32x32.png +0 -0
  159. data/assets/images/favicon.ico +0 -0
  160. data/assets/images/mstile-150x150.png +0 -0
  161. data/assets/images/safari-pinned-tab.svg +48 -0
  162. data/assets/images/site-under-construction.png +0 -0
  163. data/assets/images/site.webmanifest +19 -0
  164. data/assets/js/_main.js +136 -0
  165. data/assets/js/lunr/lunr-en.js +73 -0
  166. data/assets/js/lunr/lunr-gr.js +526 -0
  167. data/assets/js/lunr/lunr-store.js +84 -0
  168. data/assets/js/lunr/lunr.js +3475 -0
  169. data/assets/js/lunr/lunr.min.js +6 -0
  170. data/assets/js/main.min.js +6 -0
  171. data/assets/js/plugins/gumshoe.js +484 -0
  172. data/assets/js/plugins/jquery.ba-throttle-debounce.js +252 -0
  173. data/assets/js/plugins/jquery.fitvids.js +82 -0
  174. data/assets/js/plugins/jquery.greedy-navigation.js +127 -0
  175. data/assets/js/plugins/jquery.magnific-popup.js +1860 -0
  176. data/assets/js/plugins/smooth-scroll.js +650 -0
  177. data/assets/js/vendor/jquery/jquery-3.6.0.js +10881 -0
  178. metadata +233 -0
@@ -0,0 +1,526 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+
5
+ step1list = new Array();
6
+ step1list["ΦΑΓΙΑ"] = "ΦΑ";
7
+ step1list["ΦΑΓΙΟΥ"] = "ΦΑ";
8
+ step1list["ΦΑΓΙΩΝ"] = "ΦΑ";
9
+ step1list["ΣΚΑΓΙΑ"] = "ΣΚΑ";
10
+ step1list["ΣΚΑΓΙΟΥ"] = "ΣΚΑ";
11
+ step1list["ΣΚΑΓΙΩΝ"] = "ΣΚΑ";
12
+ step1list["ΟΛΟΓΙΟΥ"] = "ΟΛΟ";
13
+ step1list["ΟΛΟΓΙΑ"] = "ΟΛΟ";
14
+ step1list["ΟΛΟΓΙΩΝ"] = "ΟΛΟ";
15
+ step1list["ΣΟΓΙΟΥ"] = "ΣΟ";
16
+ step1list["ΣΟΓΙΑ"] = "ΣΟ";
17
+ step1list["ΣΟΓΙΩΝ"] = "ΣΟ";
18
+ step1list["ΤΑΤΟΓΙΑ"] = "ΤΑΤΟ";
19
+ step1list["ΤΑΤΟΓΙΟΥ"] = "ΤΑΤΟ";
20
+ step1list["ΤΑΤΟΓΙΩΝ"] = "ΤΑΤΟ";
21
+ step1list["ΚΡΕΑΣ"] = "ΚΡΕ";
22
+ step1list["ΚΡΕΑΤΟΣ"] = "ΚΡΕ";
23
+ step1list["ΚΡΕΑΤΑ"] = "ΚΡΕ";
24
+ step1list["ΚΡΕΑΤΩΝ"] = "ΚΡΕ";
25
+ step1list["ΠΕΡΑΣ"] = "ΠΕΡ";
26
+ step1list["ΠΕΡΑΤΟΣ"] = "ΠΕΡ";
27
+ step1list["ΠΕΡΑΤΑ"] = "ΠΕΡ";
28
+ step1list["ΠΕΡΑΤΩΝ"] = "ΠΕΡ";
29
+ step1list["ΤΕΡΑΣ"] = "ΤΕΡ";
30
+ step1list["ΤΕΡΑΤΟΣ"] = "ΤΕΡ";
31
+ step1list["ΤΕΡΑΤΑ"] = "ΤΕΡ";
32
+ step1list["ΤΕΡΑΤΩΝ"] = "ΤΕΡ";
33
+ step1list["ΦΩΣ"] = "ΦΩ";
34
+ step1list["ΦΩΤΟΣ"] = "ΦΩ";
35
+ step1list["ΦΩΤΑ"] = "ΦΩ";
36
+ step1list["ΦΩΤΩΝ"] = "ΦΩ";
37
+ step1list["ΚΑΘΕΣΤΩΣ"] = "ΚΑΘΕΣΤ";
38
+ step1list["ΚΑΘΕΣΤΩΤΟΣ"] = "ΚΑΘΕΣΤ";
39
+ step1list["ΚΑΘΕΣΤΩΤΑ"] = "ΚΑΘΕΣΤ";
40
+ step1list["ΚΑΘΕΣΤΩΤΩΝ"] = "ΚΑΘΕΣΤ";
41
+ step1list["ΓΕΓΟΝΟΣ"] = "ΓΕΓΟΝ";
42
+ step1list["ΓΕΓΟΝΟΤΟΣ"] = "ΓΕΓΟΝ";
43
+ step1list["ΓΕΓΟΝΟΤΑ"] = "ΓΕΓΟΝ";
44
+ step1list["ΓΕΓΟΝΟΤΩΝ"] = "ΓΕΓΟΝ";
45
+
46
+ v = "[ΑΕΗΙΟΥΩ]";
47
+ v2 = "[ΑΕΗΙΟΩ]"
48
+
49
+ function stemWord(w) {
50
+ var stem;
51
+ var suffix;
52
+ var firstch;
53
+ var origword = w;
54
+ test1 = new Boolean(true);
55
+
56
+ if(w.length < 4) {
57
+ return w;
58
+ }
59
+
60
+ var re;
61
+ var re2;
62
+ var re3;
63
+ var re4;
64
+
65
+ re = /(.*)(ΦΑΓΙΑ|ΦΑΓΙΟΥ|ΦΑΓΙΩΝ|ΣΚΑΓΙΑ|ΣΚΑΓΙΟΥ|ΣΚΑΓΙΩΝ|ΟΛΟΓΙΟΥ|ΟΛΟΓΙΑ|ΟΛΟΓΙΩΝ|ΣΟΓΙΟΥ|ΣΟΓΙΑ|ΣΟΓΙΩΝ|ΤΑΤΟΓΙΑ|ΤΑΤΟΓΙΟΥ|ΤΑΤΟΓΙΩΝ|ΚΡΕΑΣ|ΚΡΕΑΤΟΣ|ΚΡΕΑΤΑ|ΚΡΕΑΤΩΝ|ΠΕΡΑΣ|ΠΕΡΑΤΟΣ|ΠΕΡΑΤΑ|ΠΕΡΑΤΩΝ|ΤΕΡΑΣ|ΤΕΡΑΤΟΣ|ΤΕΡΑΤΑ|ΤΕΡΑΤΩΝ|ΦΩΣ|ΦΩΤΟΣ|ΦΩΤΑ|ΦΩΤΩΝ|ΚΑΘΕΣΤΩΣ|ΚΑΘΕΣΤΩΤΟΣ|ΚΑΘΕΣΤΩΤΑ|ΚΑΘΕΣΤΩΤΩΝ|ΓΕΓΟΝΟΣ|ΓΕΓΟΝΟΤΟΣ|ΓΕΓΟΝΟΤΑ|ΓΕΓΟΝΟΤΩΝ)$/;
66
+
67
+ if(re.test(w)) {
68
+ var fp = re.exec(w);
69
+ stem = fp[1];
70
+ suffix = fp[2];
71
+ w = stem + step1list[suffix];
72
+ test1 = false;
73
+ }
74
+
75
+ re = /^(.+?)(ΑΔΕΣ|ΑΔΩΝ)$/;
76
+
77
+ if(re.test(w)) {
78
+ var fp = re.exec(w);
79
+ stem = fp[1];
80
+ w = stem;
81
+
82
+ reg1 = /(ΟΚ|ΜΑΜ|ΜΑΝ|ΜΠΑΜΠ|ΠΑΤΕΡ|ΓΙΑΓΙ|ΝΤΑΝΤ|ΚΥΡ|ΘΕΙ|ΠΕΘΕΡ)$/;
83
+
84
+ if(!(reg1.test(w))) {
85
+ w = w + "ΑΔ";
86
+ }
87
+ }
88
+
89
+ re2 = /^(.+?)(ΕΔΕΣ|ΕΔΩΝ)$/;
90
+
91
+ if(re2.test(w)) {
92
+ var fp = re2.exec(w);
93
+ stem = fp[1];
94
+ w = stem;
95
+
96
+ exept2 = /(ΟΠ|ΙΠ|ΕΜΠ|ΥΠ|ΓΗΠ|ΔΑΠ|ΚΡΑΣΠ|ΜΙΛ)$/;
97
+
98
+ if(exept2.test(w)) {
99
+ w = w + "ΕΔ";
100
+ }
101
+ }
102
+
103
+ re3 = /^(.+?)(ΟΥΔΕΣ|ΟΥΔΩΝ)$/;
104
+
105
+ if(re3.test(w)) {
106
+ var fp = re3.exec(w);
107
+ stem = fp[1];
108
+ w = stem;
109
+
110
+ exept3 = /(ΑΡΚ|ΚΑΛΙΑΚ|ΠΕΤΑΛ|ΛΙΧ|ΠΛΕΞ|ΣΚ|Σ|ΦΛ|ΦΡ|ΒΕΛ|ΛΟΥΛ|ΧΝ|ΣΠ|ΤΡΑΓ|ΦΕ)$/;
111
+
112
+ if(exept3.test(w)) {
113
+ w = w + "ΟΥΔ";
114
+ }
115
+ }
116
+
117
+ re4 = /^(.+?)(ΕΩΣ|ΕΩΝ)$/;
118
+
119
+ if(re4.test(w)) {
120
+ var fp = re4.exec(w);
121
+ stem = fp[1];
122
+ w = stem;
123
+ test1 = false;
124
+
125
+ exept4 = /^(Θ|Δ|ΕΛ|ΓΑΛ|Ν|Π|ΙΔ|ΠΑΡ)$/;
126
+
127
+ if(exept4.test(w)) {
128
+ w = w + "Ε";
129
+ }
130
+ }
131
+
132
+ re = /^(.+?)(ΙΑ|ΙΟΥ|ΙΩΝ)$/;
133
+
134
+ if(re.test(w)) {
135
+ var fp = re.exec(w);
136
+ stem = fp[1];
137
+ w = stem;
138
+ re2 = new RegExp(v + "$");
139
+ test1 = false;
140
+
141
+ if(re2.test(w)) {
142
+ w = stem + "Ι";
143
+ }
144
+ }
145
+
146
+ re = /^(.+?)(ΙΚΑ|ΙΚΟ|ΙΚΟΥ|ΙΚΩΝ)$/;
147
+
148
+ if(re.test(w)) {
149
+ var fp = re.exec(w);
150
+ stem = fp[1];
151
+ w = stem;
152
+ test1 = false;
153
+
154
+ re2 = new RegExp(v + "$");
155
+ exept5 = /^(ΑΛ|ΑΔ|ΕΝΔ|ΑΜΑΝ|ΑΜΜΟΧΑΛ|ΗΘ|ΑΝΗΘ|ΑΝΤΙΔ|ΦΥΣ|ΒΡΩΜ|ΓΕΡ|ΕΞΩΔ|ΚΑΛΠ|ΚΑΛΛΙΝ|ΚΑΤΑΔ|ΜΟΥΛ|ΜΠΑΝ|ΜΠΑΓΙΑΤ|ΜΠΟΛ|ΜΠΟΣ|ΝΙΤ|ΞΙΚ|ΣΥΝΟΜΗΛ|ΠΕΤΣ|ΠΙΤΣ|ΠΙΚΑΝΤ|ΠΛΙΑΤΣ|ΠΟΣΤΕΛΝ|ΠΡΩΤΟΔ|ΣΕΡΤ|ΣΥΝΑΔ|ΤΣΑΜ|ΥΠΟΔ|ΦΙΛΟΝ|ΦΥΛΟΔ|ΧΑΣ)$/;
156
+
157
+ if((exept5.test(w)) || (re2.test(w))) {
158
+ w = w + "ΙΚ";
159
+ }
160
+ }
161
+
162
+ re = /^(.+?)(ΑΜΕ)$/;
163
+ re2 = /^(.+?)(ΑΓΑΜΕ|ΗΣΑΜΕ|ΟΥΣΑΜΕ|ΗΚΑΜΕ|ΗΘΗΚΑΜΕ)$/;
164
+ if(w == "ΑΓΑΜΕ") {
165
+ w = "ΑΓΑΜ";
166
+ }
167
+
168
+ if(re2.test(w)) {
169
+ var fp = re2.exec(w);
170
+ stem = fp[1];
171
+ w = stem;
172
+ test1 = false;
173
+ }
174
+
175
+ if(re.test(w)) {
176
+ var fp = re.exec(w);
177
+ stem = fp[1];
178
+ w = stem;
179
+ test1 = false;
180
+
181
+ exept6 = /^(ΑΝΑΠ|ΑΠΟΘ|ΑΠΟΚ|ΑΠΟΣΤ|ΒΟΥΒ|ΞΕΘ|ΟΥΛ|ΠΕΘ|ΠΙΚΡ|ΠΟΤ|ΣΙΧ|Χ)$/;
182
+
183
+ if(exept6.test(w)) {
184
+ w = w + "ΑΜ";
185
+ }
186
+ }
187
+
188
+ re2 = /^(.+?)(ΑΝΕ)$/;
189
+ re3 = /^(.+?)(ΑΓΑΝΕ|ΗΣΑΝΕ|ΟΥΣΑΝΕ|ΙΟΝΤΑΝΕ|ΙΟΤΑΝΕ|ΙΟΥΝΤΑΝΕ|ΟΝΤΑΝΕ|ΟΤΑΝΕ|ΟΥΝΤΑΝΕ|ΗΚΑΝΕ|ΗΘΗΚΑΝΕ)$/;
190
+
191
+ if(re3.test(w)) {
192
+ var fp = re3.exec(w);
193
+ stem = fp[1];
194
+ w = stem;
195
+ test1 = false;
196
+
197
+ re3 = /^(ΤΡ|ΤΣ)$/;
198
+
199
+ if(re3.test(w)) {
200
+ w = w + "ΑΓΑΝ";
201
+ }
202
+ }
203
+
204
+ if(re2.test(w)) {
205
+ var fp = re2.exec(w);
206
+ stem = fp[1];
207
+ w = stem;
208
+ test1 = false;
209
+
210
+ re2 = new RegExp(v2 + "$");
211
+ exept7 = /^(ΒΕΤΕΡ|ΒΟΥΛΚ|ΒΡΑΧΜ|Γ|ΔΡΑΔΟΥΜ|Θ|ΚΑΛΠΟΥΖ|ΚΑΣΤΕΛ|ΚΟΡΜΟΡ|ΛΑΟΠΛ|ΜΩΑΜΕΘ|Μ|ΜΟΥΣΟΥΛΜ|Ν|ΟΥΛ|Π|ΠΕΛΕΚ|ΠΛ|ΠΟΛΙΣ|ΠΟΡΤΟΛ|ΣΑΡΑΚΑΤΣ|ΣΟΥΛΤ|ΤΣΑΡΛΑΤ|ΟΡΦ|ΤΣΙΓΓ|ΤΣΟΠ|ΦΩΤΟΣΤΕΦ|Χ|ΨΥΧΟΠΛ|ΑΓ|ΟΡΦ|ΓΑΛ|ΓΕΡ|ΔΕΚ|ΔΙΠΛ|ΑΜΕΡΙΚΑΝ|ΟΥΡ|ΠΙΘ|ΠΟΥΡΙΤ|Σ|ΖΩΝΤ|ΙΚ|ΚΑΣΤ|ΚΟΠ|ΛΙΧ|ΛΟΥΘΗΡ|ΜΑΙΝΤ|ΜΕΛ|ΣΙΓ|ΣΠ|ΣΤΕΓ|ΤΡΑΓ|ΤΣΑΓ|Φ|ΕΡ|ΑΔΑΠ|ΑΘΙΓΓ|ΑΜΗΧ|ΑΝΙΚ|ΑΝΟΡΓ|ΑΠΗΓ|ΑΠΙΘ|ΑΤΣΙΓΓ|ΒΑΣ|ΒΑΣΚ|ΒΑΘΥΓΑΛ|ΒΙΟΜΗΧ|ΒΡΑΧΥΚ|ΔΙΑΤ|ΔΙΑΦ|ΕΝΟΡΓ|ΘΥΣ|ΚΑΠΝΟΒΙΟΜΗΧ|ΚΑΤΑΓΑΛ|ΚΛΙΒ|ΚΟΙΛΑΡΦ|ΛΙΒ|ΜΕΓΛΟΒΙΟΜΗΧ|ΜΙΚΡΟΒΙΟΜΗΧ|ΝΤΑΒ|ΞΗΡΟΚΛΙΒ|ΟΛΙΓΟΔΑΜ|ΟΛΟΓΑΛ|ΠΕΝΤΑΡΦ|ΠΕΡΗΦ|ΠΕΡΙΤΡ|ΠΛΑΤ|ΠΟΛΥΔΑΠ|ΠΟΛΥΜΗΧ|ΣΤΕΦ|ΤΑΒ|ΤΕΤ|ΥΠΕΡΗΦ|ΥΠΟΚΟΠ|ΧΑΜΗΛΟΔΑΠ|ΨΗΛΟΤΑΒ)$/;
212
+
213
+ if((re2.test(w)) || (exept7.test(w))) {
214
+ w = w + "ΑΝ";
215
+ }
216
+ }
217
+
218
+ re3 = /^(.+?)(ΕΤΕ)$/;
219
+ re4 = /^(.+?)(ΗΣΕΤΕ)$/;
220
+
221
+ if(re4.test(w)) {
222
+ var fp = re4.exec(w);
223
+ stem = fp[1];
224
+ w = stem;
225
+ test1 = false;
226
+ }
227
+
228
+ if(re3.test(w)) {
229
+ var fp = re3.exec(w);
230
+ stem = fp[1];
231
+ w = stem;
232
+ test1 = false;
233
+
234
+ re3 = new RegExp(v2 + "$");
235
+ exept8 = /(ΟΔ|ΑΙΡ|ΦΟΡ|ΤΑΘ|ΔΙΑΘ|ΣΧ|ΕΝΔ|ΕΥΡ|ΤΙΘ|ΥΠΕΡΘ|ΡΑΘ|ΕΝΘ|ΡΟΘ|ΣΘ|ΠΥΡ|ΑΙΝ|ΣΥΝΔ|ΣΥΝ|ΣΥΝΘ|ΧΩΡ|ΠΟΝ|ΒΡ|ΚΑΘ|ΕΥΘ|ΕΚΘ|ΝΕΤ|ΡΟΝ|ΑΡΚ|ΒΑΡ|ΒΟΛ|ΩΦΕΛ)$/;
236
+ exept9 = /^(ΑΒΑΡ|ΒΕΝ|ΕΝΑΡ|ΑΒΡ|ΑΔ|ΑΘ|ΑΝ|ΑΠΛ|ΒΑΡΟΝ|ΝΤΡ|ΣΚ|ΚΟΠ|ΜΠΟΡ|ΝΙΦ|ΠΑΓ|ΠΑΡΑΚΑΛ|ΣΕΡΠ|ΣΚΕΛ|ΣΥΡΦ|ΤΟΚ|Υ|Δ|ΕΜ|ΘΑΡΡ|Θ)$/;
237
+
238
+ if((re3.test(w)) || (exept8.test(w)) || (exept9.test(w))) {
239
+ w = w + "ΕΤ";
240
+ }
241
+ }
242
+
243
+ re = /^(.+?)(ΟΝΤΑΣ|ΩΝΤΑΣ)$/;
244
+
245
+ if(re.test(w)) {
246
+ var fp = re.exec(w);
247
+ stem = fp[1];
248
+ w = stem;
249
+ test1 = false;
250
+
251
+ exept10 = /^(ΑΡΧ)$/;
252
+ exept11 = /(ΚΡΕ)$/;
253
+ if(exept10.test(w)) {
254
+ w = w + "ΟΝΤ";
255
+ }
256
+ if(exept11.test(w)) {
257
+ w = w + "ΩΝΤ";
258
+ }
259
+ }
260
+
261
+ re = /^(.+?)(ΟΜΑΣΤΕ|ΙΟΜΑΣΤΕ)$/;
262
+
263
+ if(re.test(w)) {
264
+ var fp = re.exec(w);
265
+ stem = fp[1];
266
+ w = stem;
267
+ test1 = false;
268
+
269
+ exept11 = /^(ΟΝ)$/;
270
+
271
+ if(exept11.test(w)) {
272
+ w = w + "ΟΜΑΣΤ";
273
+ }
274
+ }
275
+
276
+ re = /^(.+?)(ΕΣΤΕ)$/;
277
+ re2 = /^(.+?)(ΙΕΣΤΕ)$/;
278
+
279
+ if(re2.test(w)) {
280
+ var fp = re2.exec(w);
281
+ stem = fp[1];
282
+ w = stem;
283
+ test1 = false;
284
+
285
+ re2 = /^(Π|ΑΠ|ΣΥΜΠ|ΑΣΥΜΠ|ΑΚΑΤΑΠ|ΑΜΕΤΑΜΦ)$/;
286
+
287
+ if(re2.test(w)) {
288
+ w = w + "ΙΕΣΤ";
289
+ }
290
+ }
291
+
292
+ if(re.test(w)) {
293
+ var fp = re.exec(w);
294
+ stem = fp[1];
295
+ w = stem;
296
+ test1 = false;
297
+
298
+ exept12 = /^(ΑΛ|ΑΡ|ΕΚΤΕΛ|Ζ|Μ|Ξ|ΠΑΡΑΚΑΛ|ΑΡ|ΠΡΟ|ΝΙΣ)$/;
299
+
300
+ if(exept12.test(w)) {
301
+ w = w + "ΕΣΤ";
302
+ }
303
+ }
304
+
305
+ re = /^(.+?)(ΗΚΑ|ΗΚΕΣ|ΗΚΕ)$/;
306
+ re2 = /^(.+?)(ΗΘΗΚΑ|ΗΘΗΚΕΣ|ΗΘΗΚΕ)$/;
307
+
308
+ if(re2.test(w)) {
309
+ var fp = re2.exec(w);
310
+ stem = fp[1];
311
+ w = stem;
312
+ test1 = false;
313
+ }
314
+
315
+ if(re.test(w)) {
316
+ var fp = re.exec(w);
317
+ stem = fp[1];
318
+ w = stem;
319
+ test1 = false;
320
+
321
+ exept13 = /(ΣΚΩΛ|ΣΚΟΥΛ|ΝΑΡΘ|ΣΦ|ΟΘ|ΠΙΘ)$/;
322
+ exept14 = /^(ΔΙΑΘ|Θ|ΠΑΡΑΚΑΤΑΘ|ΠΡΟΣΘ|ΣΥΝΘ|)$/;
323
+
324
+ if((exept13.test(w)) || (exept14.test(w))) {
325
+ w = w + "ΗΚ";
326
+ }
327
+ }
328
+
329
+ re = /^(.+?)(ΟΥΣΑ|ΟΥΣΕΣ|ΟΥΣΕ)$/;
330
+
331
+ if(re.test(w)) {
332
+ var fp = re.exec(w);
333
+ stem = fp[1];
334
+ w = stem;
335
+ test1 = false;
336
+
337
+ exept15 = /^(ΦΑΡΜΑΚ|ΧΑΔ|ΑΓΚ|ΑΝΑΡΡ|ΒΡΟΜ|ΕΚΛΙΠ|ΛΑΜΠΙΔ|ΛΕΧ|Μ|ΠΑΤ|Ρ|Λ|ΜΕΔ|ΜΕΣΑΖ|ΥΠΟΤΕΙΝ|ΑΜ|ΑΙΘ|ΑΝΗΚ|ΔΕΣΠΟΖ|ΕΝΔΙΑΦΕΡ|ΔΕ|ΔΕΥΤΕΡΕΥ|ΚΑΘΑΡΕΥ|ΠΛΕ|ΤΣΑ)$/;
338
+ exept16 = /(ΠΟΔΑΡ|ΒΛΕΠ|ΠΑΝΤΑΧ|ΦΡΥΔ|ΜΑΝΤΙΛ|ΜΑΛΛ|ΚΥΜΑΤ|ΛΑΧ|ΛΗΓ|ΦΑΓ|ΟΜ|ΠΡΩΤ)$/;
339
+
340
+ if((exept15.test(w)) || (exept16.test(w))) {
341
+ w = w + "ΟΥΣ";
342
+ }
343
+ }
344
+
345
+ re = /^(.+?)(ΑΓΑ|ΑΓΕΣ|ΑΓΕ)$/;
346
+
347
+ if(re.test(w)) {
348
+ var fp = re.exec(w);
349
+ stem = fp[1];
350
+ w = stem;
351
+ test1 = false;
352
+
353
+ exept17 = /^(ΨΟΦ|ΝΑΥΛΟΧ)$/;
354
+ exept20 = /(ΚΟΛΛ)$/;
355
+ exept18 = /^(ΑΒΑΣΤ|ΠΟΛΥΦ|ΑΔΗΦ|ΠΑΜΦ|Ρ|ΑΣΠ|ΑΦ|ΑΜΑΛ|ΑΜΑΛΛΙ|ΑΝΥΣΤ|ΑΠΕΡ|ΑΣΠΑΡ|ΑΧΑΡ|ΔΕΡΒΕΝ|ΔΡΟΣΟΠ|ΞΕΦ|ΝΕΟΠ|ΝΟΜΟΤ|ΟΛΟΠ|ΟΜΟΤ|ΠΡΟΣΤ|ΠΡΟΣΩΠΟΠ|ΣΥΜΠ|ΣΥΝΤ|Τ|ΥΠΟΤ|ΧΑΡ|ΑΕΙΠ|ΑΙΜΟΣΤ|ΑΝΥΠ|ΑΠΟΤ|ΑΡΤΙΠ|ΔΙΑΤ|ΕΝ|ΕΠΙΤ|ΚΡΟΚΑΛΟΠ|ΣΙΔΗΡΟΠ|Λ|ΝΑΥ|ΟΥΛΑΜ|ΟΥΡ|Π|ΤΡ|Μ)$/;
356
+ exept19 = /(ΟΦ|ΠΕΛ|ΧΟΡΤ|ΛΛ|ΣΦ|ΡΠ|ΦΡ|ΠΡ|ΛΟΧ|ΣΜΗΝ)$/;
357
+
358
+ if(((exept18.test(w)) || (exept19.test(w))) && !((exept17.test(w)) || (exept20.test(w)))) {
359
+ w = w + "ΑΓ";
360
+ }
361
+ }
362
+
363
+ re = /^(.+?)(ΗΣΕ|ΗΣΟΥ|ΗΣΑ)$/;
364
+
365
+ if(re.test(w)) {
366
+ var fp = re.exec(w);
367
+ stem = fp[1];
368
+ w = stem;
369
+ test1 = false;
370
+
371
+ exept21 = /^(Ν|ΧΕΡΣΟΝ|ΔΩΔΕΚΑΝ|ΕΡΗΜΟΝ|ΜΕΓΑΛΟΝ|ΕΠΤΑΝ)$/;
372
+
373
+ if(exept21.test(w)) {
374
+ w = w + "ΗΣ";
375
+ }
376
+ }
377
+
378
+ re = /^(.+?)(ΗΣΤΕ)$/;
379
+
380
+ if(re.test(w)) {
381
+ var fp = re.exec(w);
382
+ stem = fp[1];
383
+ w = stem;
384
+ test1 = false;
385
+
386
+ exept22 = /^(ΑΣΒ|ΣΒ|ΑΧΡ|ΧΡ|ΑΠΛ|ΑΕΙΜΝ|ΔΥΣΧΡ|ΕΥΧΡ|ΚΟΙΝΟΧΡ|ΠΑΛΙΜΨ)$/;
387
+
388
+ if(exept22.test(w)) {
389
+ w = w + "ΗΣΤ";
390
+ }
391
+ }
392
+
393
+ re = /^(.+?)(ΟΥΝΕ|ΗΣΟΥΝΕ|ΗΘΟΥΝΕ)$/;
394
+
395
+ if(re.test(w)) {
396
+ var fp = re.exec(w);
397
+ stem = fp[1];
398
+ w = stem;
399
+ test1 = false;
400
+
401
+ exept23 = /^(Ν|Ρ|ΣΠΙ|ΣΤΡΑΒΟΜΟΥΤΣ|ΚΑΚΟΜΟΥΤΣ|ΕΞΩΝ)$/;
402
+
403
+ if(exept23.test(w)) {
404
+ w = w + "ΟΥΝ";
405
+ }
406
+ }
407
+
408
+ re = /^(.+?)(ΟΥΜΕ|ΗΣΟΥΜΕ|ΗΘΟΥΜΕ)$/;
409
+
410
+ if(re.test(w)) {
411
+ var fp = re.exec(w);
412
+ stem = fp[1];
413
+ w = stem;
414
+ test1 = false;
415
+
416
+ exept24 = /^(ΠΑΡΑΣΟΥΣ|Φ|Χ|ΩΡΙΟΠΛ|ΑΖ|ΑΛΛΟΣΟΥΣ|ΑΣΟΥΣ)$/;
417
+
418
+ if(exept24.test(w)) {
419
+ w = w + "ΟΥΜ";
420
+ }
421
+ }
422
+
423
+ re = /^(.+?)(ΜΑΤΑ|ΜΑΤΩΝ|ΜΑΤΟΣ)$/;
424
+ re2 = /^(.+?)(Α|ΑΓΑΤΕ|ΑΓΑΝ|ΑΕΙ|ΑΜΑΙ|ΑΝ|ΑΣ|ΑΣΑΙ|ΑΤΑΙ|ΑΩ|Ε|ΕΙ|ΕΙΣ|ΕΙΤΕ|ΕΣΑΙ|ΕΣ|ΕΤΑΙ|Ι|ΙΕΜΑΙ|ΙΕΜΑΣΤΕ|ΙΕΤΑΙ|ΙΕΣΑΙ|ΙΕΣΑΣΤΕ|ΙΟΜΑΣΤΑΝ|ΙΟΜΟΥΝ|ΙΟΜΟΥΝΑ|ΙΟΝΤΑΝ|ΙΟΝΤΟΥΣΑΝ|ΙΟΣΑΣΤΑΝ|ΙΟΣΑΣΤΕ|ΙΟΣΟΥΝ|ΙΟΣΟΥΝΑ|ΙΟΤΑΝ|ΙΟΥΜΑ|ΙΟΥΜΑΣΤΕ|ΙΟΥΝΤΑΙ|ΙΟΥΝΤΑΝ|Η|ΗΔΕΣ|ΗΔΩΝ|ΗΘΕΙ|ΗΘΕΙΣ|ΗΘΕΙΤΕ|ΗΘΗΚΑΤΕ|ΗΘΗΚΑΝ|ΗΘΟΥΝ|ΗΘΩ|ΗΚΑΤΕ|ΗΚΑΝ|ΗΣ|ΗΣΑΝ|ΗΣΑΤΕ|ΗΣΕΙ|ΗΣΕΣ|ΗΣΟΥΝ|ΗΣΩ|Ο|ΟΙ|ΟΜΑΙ|ΟΜΑΣΤΑΝ|ΟΜΟΥΝ|ΟΜΟΥΝΑ|ΟΝΤΑΙ|ΟΝΤΑΝ|ΟΝΤΟΥΣΑΝ|ΟΣ|ΟΣΑΣΤΑΝ|ΟΣΑΣΤΕ|ΟΣΟΥΝ|ΟΣΟΥΝΑ|ΟΤΑΝ|ΟΥ|ΟΥΜΑΙ|ΟΥΜΑΣΤΕ|ΟΥΝ|ΟΥΝΤΑΙ|ΟΥΝΤΑΝ|ΟΥΣ|ΟΥΣΑΝ|ΟΥΣΑΤΕ|Υ|ΥΣ|Ω|ΩΝ)$/;
425
+
426
+ if(re.test(w)) {
427
+ var fp = re.exec(w);
428
+ stem = fp[1];
429
+ w = stem + "ΜΑ";
430
+ }
431
+
432
+ if((re2.test(w)) && (test1)) {
433
+ var fp = re2.exec(w);
434
+ stem = fp[1];
435
+ w = stem;
436
+
437
+ }
438
+
439
+ re = /^(.+?)(ΕΣΤΕΡ|ΕΣΤΑΤ|ΟΤΕΡ|ΟΤΑΤ|ΥΤΕΡ|ΥΤΑΤ|ΩΤΕΡ|ΩΤΑΤ)$/;
440
+
441
+ if(re.test(w)) {
442
+ var fp = re.exec(w);
443
+ stem = fp[1];
444
+ w = stem;
445
+ }
446
+
447
+ return w;
448
+ };
449
+
450
+ var greekStemmer = function (token) {
451
+ return token.update(function (word) {
452
+ return stemWord(word);
453
+ })
454
+ }
455
+
456
+ var idx = lunr(function () {
457
+ this.field('title')
458
+ this.field('excerpt')
459
+ this.field('categories')
460
+ this.field('tags')
461
+ this.ref('id')
462
+
463
+ this.pipeline.remove(lunr.trimmer)
464
+ this.pipeline.add(greekStemmer)
465
+ this.pipeline.remove(lunr.stemmer)
466
+
467
+ for (var item in store) {
468
+ this.add({
469
+ title: store[item].title,
470
+ excerpt: store[item].excerpt,
471
+ categories: store[item].categories,
472
+ tags: store[item].tags,
473
+ id: item
474
+ })
475
+ }
476
+ });
477
+
478
+ $(document).ready(function() {
479
+ $('input#search').on('keyup', function () {
480
+ var resultdiv = $('#results');
481
+ var query = $(this).val().toLowerCase();
482
+ var result =
483
+ idx.query(function (q) {
484
+ query.split(lunr.tokenizer.separator).forEach(function (term) {
485
+ q.term(term, { boost: 100 })
486
+ if(query.lastIndexOf(" ") != query.length-1){
487
+ q.term(term, { usePipeline: false, wildcard: lunr.Query.wildcard.TRAILING, boost: 10 })
488
+ }
489
+ if (term != ""){
490
+ q.term(term, { usePipeline: false, editDistance: 1, boost: 1 })
491
+ }
492
+ })
493
+ });
494
+ resultdiv.empty();
495
+ resultdiv.prepend('<p class="results__found">'+result.length+' {{ site.data.ui-text[site.locale].results_found | default: "Result(s) found" }}</p>');
496
+ for (var item in result) {
497
+ var ref = result[item].ref;
498
+ if(store[ref].teaser){
499
+ var searchitem =
500
+ '<div class="list__item">'+
501
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
502
+ '<h2 class="archive__item-title" itemprop="headline">'+
503
+ '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
504
+ '</h2>'+
505
+ '<div class="archive__item-teaser">'+
506
+ '<img src="'+store[ref].teaser+'" alt="">'+
507
+ '</div>'+
508
+ '<p class="archive__item-excerpt" itemprop="description">'+store[ref].excerpt.split(" ").splice(0,20).join(" ")+'...</p>'+
509
+ '</article>'+
510
+ '</div>';
511
+ }
512
+ else{
513
+ var searchitem =
514
+ '<div class="list__item">'+
515
+ '<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
516
+ '<h2 class="archive__item-title" itemprop="headline">'+
517
+ '<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
518
+ '</h2>'+
519
+ '<p class="archive__item-excerpt" itemprop="description">'+store[ref].excerpt.split(" ").splice(0,20).join(" ")+'...</p>'+
520
+ '</article>'+
521
+ '</div>';
522
+ }
523
+ resultdiv.append(searchitem);
524
+ }
525
+ });
526
+ });
@@ -0,0 +1,84 @@
1
+ ---
2
+ layout: none
3
+ ---
4
+
5
+ var store = [
6
+ {%- for c in site.collections -%}
7
+ {%- if forloop.last -%}
8
+ {%- assign l = true -%}
9
+ {%- endif -%}
10
+ {%- assign docs = c.docs | where_exp:'doc','doc.search != false' -%}
11
+ {%- for doc in docs -%}
12
+ {%- if doc.header.teaser -%}
13
+ {%- capture teaser -%}{{ doc.header.teaser }}{%- endcapture -%}
14
+ {%- else -%}
15
+ {%- assign teaser = site.teaser -%}
16
+ {%- endif -%}
17
+ {
18
+ "title": {{ doc.title | jsonify }},
19
+ "excerpt":
20
+ {%- if site.search_full_content == true -%}
21
+ {{ doc.content | newline_to_br |
22
+ replace:"<br />", " " |
23
+ replace:"</p>", " " |
24
+ replace:"</h1>", " " |
25
+ replace:"</h2>", " " |
26
+ replace:"</h3>", " " |
27
+ replace:"</h4>", " " |
28
+ replace:"</h5>", " " |
29
+ replace:"</h6>", " "|
30
+ strip_html | strip_newlines | jsonify }},
31
+ {%- else -%}
32
+ {{ doc.content | newline_to_br |
33
+ replace:"<br />", " " |
34
+ replace:"</p>", " " |
35
+ replace:"</h1>", " " |
36
+ replace:"</h2>", " " |
37
+ replace:"</h3>", " " |
38
+ replace:"</h4>", " " |
39
+ replace:"</h5>", " " |
40
+ replace:"</h6>", " "|
41
+ strip_html | strip_newlines | truncatewords: 50 | jsonify }},
42
+ {%- endif -%}
43
+ "categories": {{ doc.categories | jsonify }},
44
+ "tags": {{ doc.tags | jsonify }},
45
+ "url": {{ doc.url | relative_url | jsonify }},
46
+ "teaser": {{ teaser | relative_url | jsonify }}
47
+ }{%- unless forloop.last and l -%},{%- endunless -%}
48
+ {%- endfor -%}
49
+ {%- endfor -%}{%- if site.lunr.search_within_pages -%},
50
+ {%- assign pages = site.pages | where_exp:'doc','doc.search != false' -%}
51
+ {%- for doc in pages -%}
52
+ {%- if forloop.last -%}
53
+ {%- assign l = true -%}
54
+ {%- endif -%}
55
+ {
56
+ "title": {{ doc.title | jsonify }},
57
+ "excerpt":
58
+ {%- if site.search_full_content == true -%}
59
+ {{ doc.content | newline_to_br |
60
+ replace:"<br />", " " |
61
+ replace:"</p>", " " |
62
+ replace:"</h1>", " " |
63
+ replace:"</h2>", " " |
64
+ replace:"</h3>", " " |
65
+ replace:"</h4>", " " |
66
+ replace:"</h5>", " " |
67
+ replace:"</h6>", " "|
68
+ strip_html | strip_newlines | jsonify }},
69
+ {%- else -%}
70
+ {{ doc.content | newline_to_br |
71
+ replace:"<br />", " " |
72
+ replace:"</p>", " " |
73
+ replace:"</h1>", " " |
74
+ replace:"</h2>", " " |
75
+ replace:"</h3>", " " |
76
+ replace:"</h4>", " " |
77
+ replace:"</h5>", " " |
78
+ replace:"</h6>", " "|
79
+ strip_html | strip_newlines | truncatewords: 50 | jsonify }},
80
+ {%- endif -%}
81
+ "url": {{ doc.url | absolute_url | jsonify }}
82
+ }{%- unless forloop.last and l -%},{%- endunless -%}
83
+ {%- endfor -%}
84
+ {%- endif -%}]