diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 13 |
1 files changed, 13 insertions, 0 deletions
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 |