Improve index page and readme

This commit is contained in:
Luca Casonato 2022-02-10 13:51:21 +01:00
parent f509544376
commit a7a9c626e5
No known key found for this signature in database
GPG Key ID: 01A83EB62563811F
2 changed files with 24 additions and 0 deletions

View File

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

View File

@ -9,5 +9,7 @@ title: Welcome to my page
<body>
<h1>{{ title }}</h1>
<p>This is an example of a static site generated by <a href="https://lumeland.github.io/">Lume</a> on Deno Deploy.</p>
<p>The <a href="/api/time">/api/time</a> endpoint dynamically returns the current time.</p>
<p>You can find the source code for this site <a href="https://github.com/denoland/deploy_lume_example">on GitHub</a>.</p>
</body>
</html>