about summary refs log tree commit diff
path: root/readme.md
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-02-21 05:40:24 -0600
committergennyble <gen@nyble.dev>2024-02-21 05:40:24 -0600
commitc4eff133ed2a2c3deb8fad322a430b3263b6e6ab (patch)
tree1b599aca6b0bcf9cfec047f1eee56270f8fa2b8c /readme.md
downloadawake-c4eff133ed2a2c3deb8fad322a430b3263b6e6ab.tar.gz
awake-c4eff133ed2a2c3deb8fad322a430b3263b6e6ab.zip
initial commit; Filesytem and dirfiles
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md13
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