Step 1
Create your first page
The page file
Create the file index.md
and add some content in
markdown format, for example:
# Welcome to my website
This if my first page using **Lume,**
a static site generator for Deno.
I hope you enjoy it.
Build and open the page
Run lume --serve
in your terminal. This command does two things:
- Build your site. This means that the
index.md
file is compiled and exported asindex.html
in the folder_site
. - The argument
--serve
starts a local web server, so you can see the generated site in your browser. Open the urlhttp://localhost:3000/
in your browser to see the page.
The web server includes also a live-reload. If you edit the index.md
file, the
browser is reloaded automatically to see the new changes.
Congratulations, you have created your first page with Lume! 🎉