forked from lume/lume
🔥🪰 Static site generator for Deno
- TypeScript 86.1%
- Vento 8%
- JavaScript 3.5%
- CSS 1.8%
- Nunjucks 0.3%
| .github | removed issue templates | |
| archetypes | fix formatting issues | |
| cli | added --inspect flag | |
| core | new plugin: git_info | |
| debugbar | feat: HMR | |
| deps | added --inspect flag | |
| middlewares |
Strict merge utility function; consistent handling of options
|
|
| plugins | pwa: add migrate_from key | |
| tests | pwa: add migrate_from key | |
| .editorconfig | add .editorconfig | |
| .gitattributes | updated gitattributes | |
| .gitignore | anchors option for check_urls | |
| CHANGELOG.md | added --inspect flag | |
| cli.ts | added --inspect flag | |
| CODE_OF_CONDUCT.md | deno fmt | |
| CONTRIBUTING.md | fixed tests | |
| deno.json | updated versions with a minimum of 24h | |
| LICENSE | updated deps | |
| lint.ts | fix plugin order | |
| mod.ts | moved hmr logic to utils. Improved watcher | |
| README.md | deno fmt | |
| serve.ts | fix Deno 2.8 types | |
| types.ts | moved archetypes to core | |
🔥Lume
deno.land/x/lume Contributor Covenant
Lume is the Galician word for fire but also a (yet another) static site generator for Deno.
It’s inspired by other general-purpose static site generators, such as Jekyll and Eleventy, but it’s faster, simpler and easier to use and configure, besides being super flexible.
- Supports multiple file formats, like Markdown, YAML, JavaScript, TypeScript, JSX, Vento and Nunjucks, and it’s easy to extend.
- You can hook any processor to transform assets, like Terser for Javascript or PostCSS for CSS.
- It’s Deno: Forget about managing thousands of packages in
node_modulesor complex bundlers. Lume only installs what you need. Clean, fast and secure.
- See the docs to learn more
- Propose new ideas and get help at Discord
- If you like the project and want to provide some support see our Open Collective organization
Quick start
Make sure you have Deno installed.
Create your first page, for example, using the Vento file index.vto:
---
title: Welcome to my page
---
<html>
<head>
<title>{{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
</body>
</html>
Build it:
deno run -A https://deno.land/x/lume/cli.ts
This command will compile your documents to HTML and save them into the
directory _site.
Please see CHANGELOG for information about the recent changes.
Licensed under the MIT License. See LICENSE for more information.