||1 year ago|
|README.md||1 year ago|
|footer.txt||1 year ago|
|gemlog.wg||1 year ago|
|getdocs.lua||1 year ago|
|header.txt||1 year ago|
|pubgem.slo||1 year ago|
|publish.sh||1 year ago|
A workflow for converting wordgrinder document sets to a gemini log. This is a very basic tool, and you will probably need to modify it to get it to do what you want.
The main point of this tool is to try and do something useful for myself in slope
If you run this script, it will overwrite the index.gmi in ~/public_gemini and write other files into the directory.
Editing posts and index page
Writing posts is done in the gemlog.wg file which you can open with wordgrinder. Make sure to create documents with names in the format MM-DD-YYYY. Any other format, including the main document that is there by default, will cause unhandled errors. The first line of each wordgrinder document will be the title for an entry in your index page, which will be followed by the date.
You can edit the header.txt and footer.txt files to determine what goes above and below the list of articles.
Run ./publish.sh and your ~/public_gemini directory will be populated with an index.gmi and .gmi files named after the date of each entry.
slope Build Version Hash/Commit: 8e980584b0477cd780d62079d80b8157d9ba5915