💾 Archived View for rawtext.club › ~sloum › geminilist › 007086.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

[Tool Discussion][Not a Programmer] Idea i'm not sure if has been done for gemtext editing

Andrew Thorp andrew.thorp.dev at gmail.com

Sat Sep 4 14:10:18 BST 2021

- - - - - - - - - - - - - - - - - - - 

Hi Andrew,

I've set up something similar while in the process of making my capsule[1].I have a front page, /index.gmi, a header and footer, /header.gmi and/footer.gemi respectively, and a number of posts in /posts/.Running `make build` will add the header and footer to all geminidocuments (index and posts) as well as add links to all the posts inthe index.It does some swizzling as well to convert snake_case and kebab-casefile names into Title Case for the "pretty link name".Lastly, if you create the post with `make posttitle=my-new-post-title` it will prepend the date to both the posttitle and link.This is recommended to keep posts ordered as well.

Hope this helps,

Andrew Thorp

[1] (https://git.sr.ht/~athorp96/gemini-thorp.dev)