2022-03-10 23:32:57 +01:00
|
|
|
# genlog
|
|
|
|
|
|
2022-03-12 01:22:52 +01:00
|
|
|
install [scdoc](https://git.sr.ht/~sircmpwn/scdoc) and [gmnitohtml](https://git.sr.ht/~adnano/gmnitohtml)
|
|
|
|
|
|
|
|
|
|
clone this repo
|
|
|
|
|
|
2022-03-12 02:19:01 +01:00
|
|
|
``` chmod +x genlog.sh ```
|
|
|
|
|
|
2022-03-12 01:22:52 +01:00
|
|
|
put your files in the "content" folder
|
|
|
|
|
|
2022-03-12 01:23:25 +01:00
|
|
|
your .gmi files are converted in html and concatenated with the html/header.html and the html/footer.html
|
2022-03-12 02:00:07 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
feel free to customize the html/header.html and the html/footer.html as you like
|
|
|
|
|
|
|
|
|
|
please keep the
|
|
|
|
|
|
|
|
|
|
```HTML
|
|
|
|
|
<title>
|
|
|
|
|
<!-- TITLE -->
|
|
|
|
|
</title>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
in the html/header.html file if you want your generated pages to have a properly defined title in the HTML
|