https://github.com/protonull/lumeextras
some little extras for Lume
https://github.com/protonull/lumeextras
Last synced: 7 months ago
JSON representation
some little extras for Lume
- Host: GitHub
- URL: https://github.com/protonull/lumeextras
- Owner: Protonull
- Created: 2022-11-22T19:27:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T14:46:22.000Z (over 3 years ago)
- Last Synced: 2024-11-26T01:28:26.068Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://deno.land/x/lume_extras
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LumeExtras
Here be a series of utilities to aid in your [Lume](https://lume.land/) adventures.
## Usage
```json5
// import_map.json
{
"imports": {
"extras/": "https://deno.land/x/lume_extras@v0.0.3/"
}
}
```
```ts
// _config.ts
import { pages } from "extras/pages.ts";
pages.push({
url: "/CNAME",
content: "example.com"
});
// [pages].tmpl.ts
import { generatePages } from "extras/site.ts";
export default generatePages;
```