Convert gemini pages to Web.
Find a file
2022-05-06 23:52:16 +02:00
content typo 2022-03-12 01:25:05 +01:00
html 'max-device-width' is deprecated 2022-03-22 21:35:02 +01:00
.gitignore ajout content/* 2022-03-12 23:56:42 +01:00
genlog.sh ajout fonctionnalité de titre custom 2022-05-06 23:52:16 +02:00
README.md ajout fonctionnalité de titre custom 2022-05-06 23:52:16 +02:00

genlog

install scdoc and gmnitohtml

clone this repo

chmod +x genlog.sh

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

please keep the

    <title>
        <!-- TITLE -->
    </title>

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

or

you can optionally add a text at the end of the HTML page title ./genlog.sh /path/to/your/choosen/folder "Your custom title"