[SPEC-CHANGE] lang parameter, minor line type changes, clarifications...

Jason McBrayer jmcbray at carcosa.net
Mon Jun 8 20:28:37 BST 2020


"int 80h" <int at 80h.dev> writes:

> On Sun Jun 7, 2020 at 3:06 PM EDT, Matthew Graybosch wrote:
>> I just read the relevant part of the spec, but I'm still not clear on
>> how I should go about specifying that my text is US English. Do I just
>> have to add "lang=en_US" on the first line of a text/gemini file?
>
> I'm not sure how other server writers did it but I added "lang" as an
> option per vhost, currently on the dev branch.

My intention (in Germinal) is to have a global default option, a default
per-virtual host (once I add virtual hosts), and provide some way of
supplying individual files with metadata – possibly a TOML file in each
directory with a section for each file or something similar.

-- 
+-----------------------------------------------------------+  
| Jason F. McBrayer                    jmcbray at carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada    |  


More information about the Gemini mailing list