isite 2025.10.1 → 2025.10.2

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 (2) hide show
  1. package/lib/parser.js +9 -5
  2. package/package.json +1 -1
package/lib/parser.js CHANGED
@@ -81,7 +81,6 @@ module.exports = function init(req, res, ____0, route) {
81
81
  }
82
82
  }
83
83
 
84
-
85
84
  return out ?? '';
86
85
  }
87
86
 
@@ -306,15 +305,20 @@ module.exports = function init(req, res, ____0, route) {
306
305
  hide = true;
307
306
  name = name.replace('#', '');
308
307
  }
308
+ let dir = route.parserDir;
309
+ if (dir.contain('site_files')) {
310
+ dir = ____0.path.dirname(dir);
311
+ }
309
312
 
310
- if (!path || !____0.isFileExistsSync(path)) {
313
+ if (true) {
311
314
  let arr = name.split('/');
315
+
312
316
  if (arr.length === 1) {
313
- path = ____0.path.join(route.parserDir, 'site_files', ____0.path.extname(arr[0]).replace('.', ''), arr[0]);
317
+ path = ____0.path.join(dir, 'site_files', ____0.path.extname(arr[0]).replace('.', ''), arr[0]);
314
318
  } else if (arr.length === 2) {
315
- path = ____0.path.join(route.parserDir, 'site_files', ____0.path.extname(arr[1]).replace('.', ''), arr[0], arr[1]);
319
+ path = ____0.path.join(dir, 'site_files', ____0.path.extname(arr[1]).replace('.', ''), arr[0], arr[1]);
316
320
  } else if (arr.length === 3) {
317
- path = ____0.path.join(route.parserDir, 'site_files', ____0.path.extname(arr[2]).replace('.', ''), arr[0], arr[1], arr[2]);
321
+ path = ____0.path.join(dir, 'site_files', ____0.path.extname(arr[2]).replace('.', ''), arr[0], arr[1], arr[2]);
318
322
  }
319
323
  }
320
324
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2025.10.01",
3
+ "version": "2025.10.02",
4
4
  "description": "Create High Level Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {