💾 Archived View for gmi.sbgodin.fr › htmgem › docs › installation-en.gmi captured on 2023-07-22 at 16:24:23. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-06-14)

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

To install HtmGem

https://tildegit.org/sbgodin/HtmGem/archive/master.zip

Prerequisites

Nginx

index index.gmi index.php index.html
rewrite ^(.+\.gmi)$ /htmgem/index.php?rw=1&url=$1&style=default,htmgem.css;
error_page 403 /htmgem;
location = /favicon.ico { alias /var/www/dev/htmgem/favicon.ico; }

Apache

DirectoryIndex index.gmi index.php index.html
RewriteEngine on
RewriteRule ^(.+\.gmi)$ htmgem/index.php?rw=1&url=$1&style=default,htmgem.css

Other available styles:

Text decoration

The text decoration, which interprets the bold for instance, is not part of GemText definition. The text decoration applies everywhere except on the titles and preformated texts.

It's possible to disable the text decoration with a line **^^^** or add to the URL rewriting:

&textDecoration=0

Styles

How to make GemText pages?