From a7a9c626e5f2f2689c8c7ef4d59408fddadc34e7 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 10 Feb 2022 13:51:21 +0100 Subject: [PATCH] Improve index page and readme --- README.md | 22 ++++++++++++++++++++++ index.njk | 2 ++ 2 files changed, 24 insertions(+) diff --git a/README.md b/README.md index 575e7a9..49a42d3 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,25 @@ generator being deployed to Deno Deploy via GitHub Actions. To learn more about static files on Deno Deploy, view this blog post: https://deno.com/blog/deploy-static-files + +## Development + +First, install [Lume][lume]. + +```shell +deno run -A https://deno.land/x/lume/install.ts +``` + +Then build the site: + +```shell +lume +``` + +Then start the server: + +```shell +deno run -A server/main.ts +``` + +[lume]: https://lumeland.github.io diff --git a/index.njk b/index.njk index ea947ae..ac0073e 100644 --- a/index.njk +++ b/index.njk @@ -9,5 +9,7 @@ title: Welcome to my page

{{ title }}

This is an example of a static site generated by Lume on Deno Deploy.

+

The /api/time endpoint dynamically returns the current time.

+

You can find the source code for this site on GitHub.