move templates and static pages into rust source code to ditch i/o on page load

This commit is contained in:
Leonard Lorenz 2020-11-14 22:38:33 +01:00
parent f0f4048835
commit d3a5cac4be
10 changed files with 214 additions and 180 deletions

View file

@ -1,5 +1,8 @@
# Environment Variables
- SUBMIT_TOKEN: Alphanumeric string to be used for creating blog posts
- ROOT_PATH: path where html, static and database reside
- BIND_PORT: port to bind to
- DATABASE_URL: path to the sqlite3 database
- USERNAME: who does this site belong to?
- EMAIL: email to contact the site owner
- SUBMIT_TOKEN: Alphanumeric string to be used for creating blog posts