bajo-template 2.10.0 → 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 +2 -32
  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 -70
  53. package/wiki/CONFIG.md +0 -0
  54. package/wiki/CONTRIBUTING.md +0 -0
package/wiki/CHANGES.md CHANGED
@@ -1,70 +1,74 @@
1
- # Changes
2
-
3
- ## 2026-07-24
4
-
5
- - [2.9.3] Bug fix in `parseFrontMatter()`
6
- - [2.10.0] Rename `parseWithConfig()` to `parseConfig()`
7
-
8
- ## 2026-06-27
9
-
10
- - [2.9.0] Add documentations
11
- - [2.9.0] Add tests
12
- - [2.9.0] Add ```resolveResource()```
13
- - [2.9.0] Add ```_findFile()```
14
- - [2.9.1] Bug fix in ```parseFrontMatter()```
15
-
16
- ## 2026-06-12
17
-
18
- - [2.8.0] Necessary updates to ```bajo@2.18.0``` specs
19
-
20
- ## 2026-05-22
21
-
22
- - [2.7.0] Add ```getTruncated()```
23
-
24
- ## 2026-04-25
25
-
26
- - [2.6.1] Bug fix in ```render()```
27
-
28
- ## 2026-04-13
29
-
30
- - [2.6.0] Add ```_getSetting()``` template function
31
- - [2.6.0] ```buildCompileImports()``` now accept ```locals``` and ```req``` as its parameters
32
-
33
- ## 2026-03-25
34
-
35
- - [2.5.3] Bug fix in cache handling for template function
36
- - [2.5.4] Change ```maxAgeDur``` to ```ttlDur``` to align with bajoCache's terminology
37
-
38
- ## 2026-03-14
39
-
40
- - [2.5.2] Bug fix in ```resolveResource()```
41
-
42
- ## 2026-02-21
43
-
44
- - [2.5.1] Bug fix in layout fallback
45
- - [2.5.1] Refactoring ```resolveResource()``` to be more modular
46
-
47
- ## 2026-02-17
48
-
49
- - [2.5.0] Add ability to extend template by domain
50
-
51
- ## 2026-02-15
52
-
53
- - [2.4.0] Template folder reposition
54
-
55
- ## 2026-02-09
56
-
57
- - [2.3.0] Template folder reposition
58
- - [2.3.1] Move ```common``` template folder to ```_common```
59
-
60
- ## 2026-02-05
61
-
62
- - [2.2.2] Bug fix in front matter parsing
63
-
64
- ## 2026-01-21
65
-
66
- - [2.1.1] Updates on page titles
67
-
68
- ## 2025-12-30
69
-
70
- - [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