Added viewing info to readme

main
Paulo Truta 2024-03-17 14:59:59 +01:00
parent 698ebc324a
commit aa6ea29b36
1 changed files with 11 additions and 2 deletions

View File

@ -5,6 +5,15 @@ A repository where I backup impress.js presentations.
## Rules of thumb ## Rules of thumb
- Each presentation should be in a folder with the name of the presentation. - Each presentation should be in a folder with the name of the presentation.
- The folder should contain the `index.html` file (the generated impress.js presentation file) - The folder should contain the `index.html` file (the generated impress.js presentation file).
- Static referenced assets should be put inside folders like, for example `css/style.css`. - Static referenced assets should be put inside folders like, for example `css/style.css`.
- Images should be either referenced via public url, or placed in a folder called `img` inside the presentation folder (example: `img/example.jpg`). - Images should be either referenced via public url, or placed in a folder called `img` inside the presentation folder (example: `img/example.jpg`).
## Viewing the presentations
A webhook is set up to serve the presentations directly from the repository - [Example](https://n8n.jpt.land/webhook/impress?target=berlin).
You can view the presentations by visiting the following link:
https://n8n.jpt.land/webhook/impress?target=<folder-name>
Replace `<folder-name>` with the name of the folder of the presentation you want to see.