ajout fonctionnalité choix dossier

This commit is contained in:
OniriCorpe 2022-05-06 21:59:45 +02:00
parent da7feea04e
commit 2060f8044b
2 changed files with 22 additions and 5 deletions

View file

@ -6,11 +6,9 @@ clone this repo
``` chmod +x genlog.sh ```
put your files in the "content" folder
your .gmi files are converted in html and concatenated with the html/header.html and the html/footer.html
the .html file is witen in the directory of the .gmi file which has been treated
this script will recursively search all .gmi files contained in the "content" folder, even in the other folders it includes
this script will recursively search all .gmi files contained in the "content" folder or a path given as an argument to the script, even in the other folders it includes
feel free to customize the html/header.html and the html/footer.html as you like
@ -23,3 +21,12 @@ please keep the
```
in the html/header.html file if you want your generated pages to have a properly defined title in the HTML
## usage
put your files in the "content" folder
``` ./genlog.sh ```
or
``` ./genlog.sh /path/to/your/choosen/folder ```