Skip to content

Kalabasa/compose-html

Repository files navigation

compose-html

Yet another static site generator.

This is still a work-in-progress!

A simple example

Source files

<!-- card.html -->
<div class="card">
  <h1>{attrs.title}</h1>
  <slot />
</div>
<!-- page.html -->
<card title="Hello">
  <p>Hello, world!</p>
  <p>How's it going?</p>
</card>

Output file

<!-- out/page.html -->
<div class="card">
  <h1>Hello</h1>
  <p>Hello, world!</p>
  <p>How's it going?</p>
</div>

About

Yet another static site generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published