pull/1/head
dvkt 4 years ago
parent 80f1c2cf75
commit 7e8cd34d91

@ -15,10 +15,10 @@ special files:
- **header.gph**: if it exists in a directory, its content will be shown above the directory's content. put ascii art in it.
- **footer.gph**: same, but will be shown below a directory's content.
- **index.gph**: completely replaces a directory's content with what's in this file.
- **??.gph**: visiting gopher://yoursite/1/dog/ will try to render `dog.gph` on disk.
- **??.gph**: visiting gopher://yoursite/1/dog/ will try to render `dog.gph` from disk.
- **.reverse**: if this exists, the directory contents will be listed in reverse alphanumeric order. useful for phloggin'.
Any line in a `.gph` file that doesn't contain any tabs (`\t`) and doesn't start with an `i` will get an `i` automatically prefixed, turning it into a gopher information item.
Any line in a `.gph` file that doesn't contain tabs (`\t`) and doesn't start with an `i` will get an `i` automatically prefixed, turning it into a gopher information item.
## usage
@ -38,3 +38,9 @@ Any line in a `.gph` file that doesn't contain any tabs (`\t`) and doesn't start
- https://gopher.zone/posts/how-to-gophermap/
- [rfc 1436](https://tools.ietf.org/html/rfc1436)
## todo
- [ ] logo
- [ ] script mode
- [ ] run mode
- [ ] log options

Loading…
Cancel
Save