diff options
author | gennyble <gen@nyble.dev> | 2024-04-13 05:40:17 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2024-04-13 05:40:17 -0500 |
commit | fafb3c3ceaa16e93f69b38e33e64e240573e4875 (patch) | |
tree | c49c9eb94e6c14c089847c02ba156d5566e5b118 /readme.md | |
parent | 1b93aecbdc261ca2f7932db2754c6e33487dd9c8 (diff) | |
download | awake-fafb3c3ceaa16e93f69b38e33e64e240573e4875.tar.gz awake-fafb3c3ceaa16e93f69b38e33e64e240573e4875.zip |
:)
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/readme.md b/readme.md index e870276..11fb06d 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,10 @@ map tile. Make a gif with a few frames of radar so we can embed it on the site. Zoomed out far enough that I'm not worried about opsec and with no marker for where I am in the tile. +**Bring back file-times** +Times are stored by whenwasit in a CSV files. I want to add the times to the +bottom of the page again. I miss them. + ## Dirfiles These are files that match the name of the directory. @@ -20,11 +24,6 @@ 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. -**TODO:** -we need to redirect directories to themselves with slashes. The browser thinks -that anything not ending in a slash is a file. It couldvery well be right, but -this causes chaos when we try to relative link to a directories resources. - ## Page-content uses templates Because writing the same outer-html for everything poses a few problems. I'll enumerate them for fun! @@ -71,6 +70,15 @@ a one or two sentence description of the page. <meta property="og:description" content="gone for now. stepped out for a bit." /> ``` +**path-offset** (default: none) +remove a path component from the end of tree when displaying with the +**path** pattern + +### patterns +**path** +use this pattern with `path_link` and `path_name` to insert links to the +directories below a page. + ## Page content uses a weird kind of markup language It's mostly just HTML, but I'm tired of writing `<p>` so damn much. @@ -92,4 +100,22 @@ the next line. ### annotations -**[#element-id]** - give the paragraph for this text block an ID of `element-id` \ No newline at end of file +**[#element-id]** - give the paragraph for this text block an ID of `element-id` + +## Atomizer!!! +launch with the arguments `atomizer <awake.conf> <atom.conf>` + +known issues: +- [ ] Relative links are not absoluteified +- [ ] we should remove `<script>`. *(rather, we shouldn't put any in)* + +## Date/Time Parsing +Acceptable formats: +- Date only: `2024-04-13` +- Date/Time: `2024-04-13 02:56` +- Date/Time/Offset: `2024-04-13 02:56 CDT` + +If no time is provided, noon is assumed. +If no offset is provided, Central Time with the correct DST is assumed. + +Known timezones: `CST`, `CDT` \ No newline at end of file |