• Stars
    star
    1,723
  • Rank 27,459 (Top 0.6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated 4 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ”ฅ Static site generator for Deno ๐Ÿฆ•

๐Ÿ”ฅ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 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_modules or complex bundlers. Lume only installs what you need. Clean, fast and secure.


Quick start

Make sure you have Deno installed.

Create your first page, for example, using the Nunjucks file index.njk:

---
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.