Skip to content

Commit 9551806

Browse files
committed
removed old variable
1 parent 683fade commit 9551806

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Go to the `v1` branch to see the changelog of Lume 1.
7373
- `name` special variable of components to customize the name. It's always the filename.
7474
- `slugify_urls` plugin no longer handle unicode characters by default. Use the `transliterate` option to configure it.
7575
- Internal variable `page._data` because it's useless.
76+
- `site.globalData` variable due it's no longer needed. Use `site.scopedData.get("/")` if you need it.
7677

7778
### Fixed
7879
- The resolution of npm and jsr specifiers by esbuild plugin have been improved.

core/site.ts

-4
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ export default class Site {
239239
};
240240
}
241241

242-
get globalData(): RawData {
243-
return this.scopedData.get("/")!;
244-
}
245-
246242
/**
247243
* Returns the full path to the root directory.
248244
* Use the arguments to return a subpath

0 commit comments

Comments
 (0)