bajo-template 2.9.3 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/.github/FUNDING.yml +0 -0
  2. package/.github/workflows/repo-lockdown.yml +0 -0
  3. package/.jsdoc.conf.json +0 -0
  4. package/LICENSE +0 -0
  5. package/README.md +0 -0
  6. package/docs/BajoTemplate.html +0 -0
  7. package/docs/data/search.json +0 -0
  8. package/docs/fonts/Inconsolata-Regular.ttf +0 -0
  9. package/docs/fonts/OpenSans-Regular.ttf +0 -0
  10. package/docs/fonts/WorkSans-Bold.ttf +0 -0
  11. package/docs/global.html +0 -0
  12. package/docs/index.html +0 -0
  13. package/docs/index.js.html +0 -0
  14. package/docs/lib_imports.js.html +0 -0
  15. package/docs/module-Imports.html +0 -0
  16. package/docs/scripts/core.js +0 -0
  17. package/docs/scripts/core.min.js +0 -0
  18. package/docs/scripts/resize.js +0 -0
  19. package/docs/scripts/search.js +0 -0
  20. package/docs/scripts/search.min.js +5 -5
  21. package/docs/scripts/third-party/Apache-License-2.0.txt +0 -0
  22. package/docs/scripts/third-party/fuse.js +0 -0
  23. package/docs/scripts/third-party/hljs-line-num-original.js +0 -0
  24. package/docs/scripts/third-party/hljs-line-num.js +0 -0
  25. package/docs/scripts/third-party/hljs-original.js +0 -0
  26. package/docs/scripts/third-party/hljs.js +0 -0
  27. package/docs/scripts/third-party/popper.js +0 -0
  28. package/docs/scripts/third-party/tippy.js +0 -0
  29. package/docs/scripts/third-party/tocbot.js +0 -0
  30. package/docs/scripts/third-party/tocbot.min.js +0 -0
  31. package/docs/static/bitcoin.jpeg +0 -0
  32. package/docs/static/home.md +0 -0
  33. package/docs/static/logo-ecosystem.png +0 -0
  34. package/docs/static/logo.png +0 -0
  35. package/docs/styles/clean-jsdoc-theme-base.css +0 -0
  36. package/docs/styles/clean-jsdoc-theme-dark.css +0 -0
  37. package/docs/styles/clean-jsdoc-theme-light.css +0 -0
  38. package/docs/styles/clean-jsdoc-theme-scrollbar.css +0 -0
  39. package/docs/styles/clean-jsdoc-theme-without-scrollbar.min.css +0 -0
  40. package/docs/styles/clean-jsdoc-theme.min.css +0 -0
  41. package/extend/bajo/intl/en-US.json +0 -0
  42. package/extend/bajo/intl/id.json +0 -0
  43. package/extend/bajoTemplate/layout/default.html +0 -0
  44. package/extend/bajoTemplate/layout/email.html +0 -0
  45. package/extend/bajoTemplate/layout/email.id.html +0 -0
  46. package/extend/bajoTemplate/partial/script-block.html +0 -0
  47. package/extend/bajoTemplate/partial/style-block.html +0 -0
  48. package/index.js +4 -34
  49. package/lib/imports.js +169 -170
  50. package/package.json +1 -1
  51. package/test/bajo-template.test.js +275 -275
  52. package/wiki/CHANGES.md +74 -69
  53. package/wiki/CONFIG.md +0 -0
  54. package/wiki/CONTRIBUTING.md +0 -0
package/wiki/CHANGES.md CHANGED
@@ -1,69 +1,74 @@
1
- # Changes
2
-
3
- ## 2026-07-24
4
-
5
- - [2.9.3] Bug fix in `parseFrontMatter()`
6
-
7
- ## 2026-06-27
8
-
9
- - [2.9.0] Add documentations
10
- - [2.9.0] Add tests
11
- - [2.9.0] Add ```resolveResource()```
12
- - [2.9.0] Add ```_findFile()```
13
- - [2.9.1] Bug fix in ```parseFrontMatter()```
14
-
15
- ## 2026-06-12
16
-
17
- - [2.8.0] Necessary updates to ```bajo@2.18.0``` specs
18
-
19
- ## 2026-05-22
20
-
21
- - [2.7.0] Add ```getTruncated()```
22
-
23
- ## 2026-04-25
24
-
25
- - [2.6.1] Bug fix in ```render()```
26
-
27
- ## 2026-04-13
28
-
29
- - [2.6.0] Add ```_getSetting()``` template function
30
- - [2.6.0] ```buildCompileImports()``` now accept ```locals``` and ```req``` as its parameters
31
-
32
- ## 2026-03-25
33
-
34
- - [2.5.3] Bug fix in cache handling for template function
35
- - [2.5.4] Change ```maxAgeDur``` to ```ttlDur``` to align with bajoCache's terminology
36
-
37
- ## 2026-03-14
38
-
39
- - [2.5.2] Bug fix in ```resolveResource()```
40
-
41
- ## 2026-02-21
42
-
43
- - [2.5.1] Bug fix in layout fallback
44
- - [2.5.1] Refactoring ```resolveResource()``` to be more modular
45
-
46
- ## 2026-02-17
47
-
48
- - [2.5.0] Add ability to extend template by domain
49
-
50
- ## 2026-02-15
51
-
52
- - [2.4.0] Template folder reposition
53
-
54
- ## 2026-02-09
55
-
56
- - [2.3.0] Template folder reposition
57
- - [2.3.1] Move ```common``` template folder to ```_common```
58
-
59
- ## 2026-02-05
60
-
61
- - [2.2.2] Bug fix in front matter parsing
62
-
63
- ## 2026-01-21
64
-
65
- - [2.1.1] Updates on page titles
66
-
67
- ## 2025-12-30
68
-
69
- - [2.1.0] Ported to match ```bajo@2.2.x``` specs
1
+ # Changes
2
+
3
+ ## 2026-11-20
4
+
5
+ - [2.11.0] Refactor `getExcerpt()` to use `aneka.createExcerpt()` instead
6
+
7
+ ## 2026-07-24
8
+
9
+ - [2.9.3] Bug fix in `parseFrontMatter()`
10
+ - [2.10.0] Rename `parseWithConfig()` to `parseConfig()`
11
+
12
+ ## 2026-06-27
13
+
14
+ - [2.9.0] Add documentations
15
+ - [2.9.0] Add tests
16
+ - [2.9.0] Add ```resolveResource()```
17
+ - [2.9.0] Add ```_findFile()```
18
+ - [2.9.1] Bug fix in ```parseFrontMatter()```
19
+
20
+ ## 2026-06-12
21
+
22
+ - [2.8.0] Necessary updates to ```bajo@2.18.0``` specs
23
+
24
+ ## 2026-05-22
25
+
26
+ - [2.7.0] Add ```getTruncated()```
27
+
28
+ ## 2026-04-25
29
+
30
+ - [2.6.1] Bug fix in ```render()```
31
+
32
+ ## 2026-04-13
33
+
34
+ - [2.6.0] Add ```_getSetting()``` template function
35
+ - [2.6.0] ```buildCompileImports()``` now accept ```locals``` and ```req``` as its parameters
36
+
37
+ ## 2026-03-25
38
+
39
+ - [2.5.3] Bug fix in cache handling for template function
40
+ - [2.5.4] Change ```maxAgeDur``` to ```ttlDur``` to align with bajoCache's terminology
41
+
42
+ ## 2026-03-14
43
+
44
+ - [2.5.2] Bug fix in ```resolveResource()```
45
+
46
+ ## 2026-02-21
47
+
48
+ - [2.5.1] Bug fix in layout fallback
49
+ - [2.5.1] Refactoring ```resolveResource()``` to be more modular
50
+
51
+ ## 2026-02-17
52
+
53
+ - [2.5.0] Add ability to extend template by domain
54
+
55
+ ## 2026-02-15
56
+
57
+ - [2.4.0] Template folder reposition
58
+
59
+ ## 2026-02-09
60
+
61
+ - [2.3.0] Template folder reposition
62
+ - [2.3.1] Move ```common``` template folder to ```_common```
63
+
64
+ ## 2026-02-05
65
+
66
+ - [2.2.2] Bug fix in front matter parsing
67
+
68
+ ## 2026-01-21
69
+
70
+ - [2.1.1] Updates on page titles
71
+
72
+ ## 2025-12-30
73
+
74
+ - [2.1.0] Ported to match ```bajo@2.2.x``` specs
package/wiki/CONFIG.md CHANGED
File without changes
File without changes