blob: c7a1258ace0cf26fd88a90e0f8ff86946f965863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.
|