From c4eff133ed2a2c3deb8fad322a430b3263b6e6ab Mon Sep 17 00:00:00 2001 From: gennyble Date: Wed, 21 Feb 2024 05:40:24 -0600 Subject: initial commit; Filesytem and dirfiles --- readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 readme.md (limited to 'readme.md') diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..c7a1258 --- /dev/null +++ b/readme.md @@ -0,0 +1,13 @@ +## Dirfiles +These are files that match the name of the directory. + +The problem with a normal `index.html` is that you need the full path to get a +semblance of what the file is for. This can be solved by matching the served +file of a directory to it's name. For example, a `multimedia/` would have it's +`index.html` renamed to `multimedia.html`. This does, however, make it harder +to change the name/path of directories as you'll have to rename the dirfile if +the directory name changes. + +What do you name the root file, then? You shouldn't have to match the webroot's +directory name. Perhaps it should be configurable. I think for now we'll +hard-code in `home.html`, though. \ No newline at end of file -- cgit 1.4.1-3-g733a5