lume is the galician word for fire, but also a (yet another) static site generator for Deno.
It’s inspired in other general purpose static site generators such Jekyll or Eleventy but it’s faster, simpler and easier to use and configure, besides being super flexible.
markdown
, yaml
, javascript
, typescript
, jsx
, nunjucks
and it’s easy to extend.sass
or postcss
for CSS.node_modules
or complex bundlers. Lume only install that you need. Clean, fast and secure.Make sure you have Deno installed.
Install lume as a Deno executable:
deno install --unstable --allow-read --allow-write --allow-net https://deno.land/x/lume/cli.js
Create your first page, for example using a nunjucks template:
---
title: Welcome to my page
---
<html>
<head>
<title>{{ title }}</title>
</head>
<body>
<h1>{{ title }}</h1>
</body>
</html>
Run it: lume
This command will compile your documents to HTML and saved into the output folder (defaults to _site
)
You can run lume --serve
to start up a webserver. Then open http://localhost:3000
in your web browser to see your website.
Author: oscarotero
Demo: https://deno.land/x/lume
Source Code: https://github.com/oscarotero/lume
#deno #nodejs #node #javascript