💾 Archived View for gemi.dev › gemini-mailing-list › 000492.gmi captured on 2024-06-16 at 13:28:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

[ANN] Capsule announcement - ur.gs

1. Nick Thomas (gemini (a) ur.gs)

It's been intermittently up and down for ages now, but I finally got
around to deploying gemini://ur.gs properly with TOFU TLS, and
(manually) converted my old blogs and so on. It's not very interesting,
but it is present. I've said this about it many times in the past, but
I'll see if I can add new items on a semi-regular basis for a while.

Special bonus feature: each page served directly from a box in my
hallway, up here in Shetland.

I'm using Ages + Kiln; overall, very nice, although I struggled to work
out what Kiln expected of me inside src/ to begin with.

I *couldn't* quickly work out how to get the /img, /pdf, and /traces
entries not to appear in the automatic listing in /index.gmi. So I
created `index.gmi` files for each, so the links would at least not be
broken. I expected that to result in autogenerated links to each of the
(non-gmi) files, but that didn't happen either, so it's a bit of a
weird halfway situation.

I'm a heavy user of inline links in prose, but I found that it (mostly)
converted in a natural style, without needing a great deal of
restructuring. I think there's still a bunch of inline preformatted
text (`like this`) that I need to reformat, though.

Need to work out the feeds.

Of course, gemini://ur.gs/robots.txt is present and correct ;)

I was intending to have https://ur.gs issue redirects to the matching
gemini pages, but I've realised I host a bunch of Very Large GIFs there
that are externally linked, so I've got to untangle that knot first.

/Nick

Link to individual message.

2. Adnan Maolood (me (a) adnano.co)

On Tue Nov 24, 2020 at 6:30 PM EST, Nick Thomas wrote:
> I'm using Ages + Kiln; overall, very nice, although I struggled to work
> out what Kiln expected of me inside src/ to begin with.
>
> I *couldn't* quickly work out how to get the /img, /pdf, and /traces
> entries not to appear in the automatic listing in /index.gmi. So I
> created `index.gmi` files for each, so the links would at least not be
> broken. I expected that to result in autogenerated links to each of the
> (non-gmi) files, but that didn't happen either, so it's a bit of a
> weird halfway situation.

Thanks for the feedback! I'll work on improving the documentation.

The default index template includes links to directories by default.
I wasn't sure if this would be a desired feature, and I can remove it.

The default template also only includes links for any Gemini files in a
directory. I could expose the non-Gemini files to the template so you
could list them manually if you desire.

You can always create your own templates if the default ones don't work
well. The default templates can be found at
https://git.sr.ht/~adnano/kiln/tree/master/templates/

Link to individual message.

3. Nick Thomas (gemini (a) ur.gs)

Hi,

On Tue, 2020-11-24 at 19:54 -0500, Adnan Maolood wrote:
> 
> The default index template includes links to directories by default.
> I wasn't sure if this would be a desired feature, and I can remove
> it.

The problems I encountered with this default were:



Since it's easy to create an `index.gmi` in the subdirectory to cause
the link to appear, I'd definitely prefer it if subdirectories without
one didn't get a link by default \o/

> The default template also only includes links for any Gemini files in
> a
> directory. I could expose the non-Gemini files to the template so you
> could list them manually if you desire.

I think the current behaviour is the right call here - I don't actually
want my /img to have an autogenerated index. It would be good to make
it easy to generate one if desired though, since I can easily see other
people wanting to do simple galleries this way.

/Nick

Link to individual message.

4. Adnan Maolood (me (a) adnano.co)

On Wed Nov 25, 2020 at 6:38 AM EST, Nick Thomas wrote:
> The problems I encountered with this default were:
>
> * My index.gmi came with links that gave a 51 when clicked
> * The link text is not configurable except by creating an index.gmi
> * Vendoring the template with some changes is a big step up :D
>
> Since it's easy to create an `index.gmi` in the subdirectory to cause
> the link to appear, I'd definitely prefer it if subdirectories without
> one didn't get a link by default \o/

I think I'll go ahead and remove the directory listings, then.
You can link to any directory in the contents of the index.gmi file, and
the link will show up above the page links.

Link to individual message.

---

Previous Thread: Requiring schemes in Gemini requests

Next Thread: [ANN] Rocket Nine Labs gemlog (First post: How to create a gemlog with gssg)