Compare commits
No commits in common. "9e91dcb1d9512763ef6b36d56e0cb7e9c96baee9" and "c447aab1b97a1c5e2160d369003424a455635bc5" have entirely different histories.
9e91dcb1d9
...
c447aab1b9
2 changed files with 12 additions and 9 deletions
19
TODO.md
19
TODO.md
|
|
@ -1,6 +1,14 @@
|
|||
- [ ] minify js and css when copying over instead of just copying
|
||||
- Using ESBuild via an Oracle but figuring out where and how I want to use that oracle hurts my head
|
||||
- [ ] setup fingerprinting in file names for css and js
|
||||
- setup lambdas via: https://hackage-content.haskell.org/package/mustache-2.4.3.1/docs/Text-Mustache.html#v:overText
|
||||
- This may require a refactor of how we handle templates to use `object` instead of just using aeson integration from the mustache crate
|
||||
- [ ] Make a function which takes IR and spits out some kind of table of contents
|
||||
- [ ] Add rst or org support and convert markdown handling to custom parser instead of pandoc
|
||||
- [ ] Add in functionality for footnotes
|
||||
- [ ] swap from using `draft` to using `date` for determing draft status, lack of date = draft
|
||||
- [ ] Fix time via timestamps potentially meaning something (via preshim?) and use local offset instead of absolute time https://www.rfc-editor.org/rfc/rfc3339#section-4.2
|
||||
- [ ] process source code blocks to syntax highlight them
|
||||
- skylighting https://hackage.haskell.org/package/skylighting
|
||||
- More boring therefore more better
|
||||
- tree sitter https://hackage.haskell.org/package/tree-sitter
|
||||
- Alternatively do the Rust <-> Haskell binding myself
|
||||
- https://www.well-typed.com/blog/2023/03/purgatory/
|
||||
|
|
@ -10,12 +18,7 @@
|
|||
- Borsh
|
||||
- https://crates.io/crates/tree-sitter-highlight
|
||||
- Or potentially https://docs.rs/arborium/latest/arborium/
|
||||
- [ ] Make a function which takes IR and spits out some kind of table of contents
|
||||
- [ ] Add rst or org support and convert markdown handling to custom parser instead of pandoc
|
||||
- [ ] Add in functionality for footnotes
|
||||
- There should be a per footnote template as well and also either the default or post template should have an attribute which handles footnotes
|
||||
- [ ] swap from using `draft` to using `date` for determing draft status, lack of date = draft
|
||||
- [ ] Fix time via timestamps potentially meaning something (via preshim?) and use local offset instead of absolute time https://www.rfc-editor.org/rfc/rfc3339#section-4.2
|
||||
- Alternatively consider skylighting https://hackage.haskell.org/package/skylighting
|
||||
- [ ] setup font subsetting (font file minimization)
|
||||
- [ ] dev server setup (with live reloading)
|
||||
- https://hackage-content.haskell.org/package/warp-3.4.10
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ res_path_handle :: String -> T.Text
|
|||
res_path_handle = T.pack . yeetTop
|
||||
|
||||
yeetTop :: FilePath -> FilePath
|
||||
yeetTop path = '/' : new_dir </> filename
|
||||
yeetTop path = new_dir </> filename
|
||||
where
|
||||
new_dir = concat $ drop 1 $ FP.splitPath $ FP.takeDirectory path
|
||||
filename = FP.takeFileName path
|
||||
|
|
|
|||
Loading…
Reference in a new issue