Tom Alexander
884a28e63a
Remove pointless copying.
format Build format has succeeded
rust-test Build rust-test has succeeded
clippy Build clippy has succeeded
2024-10-19 17:28:50 -04:00
Tom Alexander
1c3e2ca4d9
Remove the last use of walkdir.
2024-10-19 17:26:37 -04:00
Tom Alexander
2081d25066
Remove a use of WalkDir.
2024-10-19 17:14:05 -04:00
Tom Alexander
7ddc4011b3
Use a type alias for read file results.
2024-10-19 17:03:52 -04:00
Tom Alexander
379850fe3d
Use the deep path as the post id.
2024-10-19 16:55:38 -04:00
Tom Alexander
8ab69e480e
Case insensitive match for org file extension.
2024-10-19 16:38:29 -04:00
Tom Alexander
c5621212bc
Using multi-level deep folders successfully but the output is still shallow.
2024-10-19 16:35:45 -04:00
Tom Alexander
b9f74b7eca
Write the filter to find the highest folders containing org documents.
2024-10-19 16:25:54 -04:00
Tom Alexander
493adb4688
Switch to iterative instead of recursive.
2024-10-19 16:15:23 -04:00
Tom Alexander
b6cc7a70b7
Future is not send.
2024-10-18 21:29:15 -04:00
Tom Alexander
8868cfb63f
Don't need to hard-code static lifetime.
2024-10-18 21:23:22 -04:00
Tom Alexander
ae3add9c81
Fixed recursion using a BoxFuture.
2024-10-18 21:22:39 -04:00
Tom Alexander
98fa43575d
Require boxing?.
2024-10-18 21:19:40 -04:00
Tom Alexander
5d3a6c4174
Also infinite.
2024-10-18 21:15:23 -04:00
Tom Alexander
be467c8074
infinite recursion?
2024-10-18 21:13:50 -04:00
Tom Alexander
0da375c529
Add a function to recursively list all entries in a directory with tokio.
2024-10-18 21:05:29 -04:00
Tom Alexander
7e1e070e23
Update organic.
format Build format has succeeded
rust-clippy Build rust-clippy has succeeded
rust-test Build rust-test has succeeded
2024-04-12 18:48:25 -04:00
Tom Alexander
59a91331cc
Add support for target links.
format Build format has succeeded
build-natter Build build-natter has succeeded
rust-clippy Build rust-clippy has succeeded
rust-test Build rust-test has succeeded
2023-12-23 22:54:48 -05:00
Tom Alexander
35cf675c87
Fix clippy.
format Build format has succeeded
rust-clippy Build rust-clippy has succeeded
rust-test Build rust-test has succeeded
2023-12-23 21:36:24 -05:00
Tom Alexander
3b63bbdfde
Add support for subpaths.
2023-12-23 21:29:59 -05:00
Tom Alexander
24218f2979
Generate post links, so far only top-level.
2023-12-23 21:22:43 -05:00
Tom Alexander
6a086d57de
Generate Post link when the protocol is post.
2023-12-23 20:55:32 -05:00
Tom Alexander
93e0a2fe98
Add URL parsing.
2023-12-23 20:45:20 -05:00
Tom Alexander
86d4e25aa0
Add support for a target variable in regular links.
...
This will initially be used for supporting "post://" links.
2023-12-23 20:35:27 -05:00
Tom Alexander
cb5d131097
Add support for plain links.
format Build format has succeeded
rust-test Build rust-test has succeeded
rust-clippy Build rust-clippy has succeeded
build-natter Build build-natter has succeeded
2023-12-23 19:23:39 -05:00
Tom Alexander
eb67327574
Do not error if posts directory does not exist.
build-natter Build build-natter has succeeded
format Build format has succeeded
rust-clippy Build rust-clippy has succeeded
rust-test Build rust-test has succeeded
2023-12-23 17:14:31 -05:00
Tom Alexander
8905c9356b
Add a build for regular non-blog-post pages from org source.
2023-12-23 16:55:49 -05:00
Tom Alexander
138d694b27
Copy static files over to the output directory.
2023-12-23 15:45:23 -05:00
Tom Alexander
397d4ea0bc
Fix clippy issues.
rust-test Build rust-test has succeeded
rust-clippy Build rust-clippy has succeeded
build-natter Build build-natter has succeeded
format Build format has succeeded
2023-12-23 07:08:06 -05:00
fluxcdbot
df339f20fa
CI: autofix rust code.
rust-clippy Build rust-clippy has failed
rust-test Build rust-test has succeeded
format Build format has succeeded
2023-12-23 01:46:40 +00:00
Tom Alexander
95d4ee7080
Render the table groups.
2023-12-22 18:06:55 -05:00
Tom Alexander
fa2dd96f78
Update intermediate phase for table groups.
2023-12-22 18:00:07 -05:00
Tom Alexander
7741e192f5
Group table rows into sections.
2023-12-22 00:08:06 -05:00
Tom Alexander
35dff5cdaf
Rename to natter.
2023-12-21 19:28:31 -05:00
Tom Alexander
4fb08bc7d0
Wrap inline footnote definitions in a paragraph tag.
...
This is to match the behavior of the upstream org html exporter.
2023-12-21 18:09:43 -05:00
Tom Alexander
27ff13e675
Also special-case plain list items containing only paragraphs and sublists.
...
This seems to be the behavior of the upstream org html exporter.
2023-12-21 17:27:19 -05:00
Tom Alexander
2914e42ba1
For plain list items with a single child that is a paragraph, do not wrap in paragraph html tags.
...
This is mimicking the behavior from org-mode's HTML exporter.
2023-12-21 17:18:51 -05:00
Tom Alexander
72952adb6b
Add post_blank to the rust types.
2023-12-21 15:09:13 -05:00
Tom Alexander
8b85c02ef1
Wrap the intermediate Registry in an IntermediateContext.
...
This is currently just to maintain consistency with the render phase's RenderContext but in the future it should allow us to include immutable data that is not locked behind the ArcMutex.
2023-12-21 13:53:56 -05:00
Tom Alexander
2ae4839ce0
Remove common whitespace prefix from src block lines.
2023-12-21 13:16:05 -05:00
Tom Alexander
5654c40d03
Get the real language for src blocks from the org source.
2023-12-21 12:07:36 -05:00
Tom Alexander
da81f93e4a
Re-enable the CSS reset sheet.
2023-12-19 18:06:52 -05:00
Tom Alexander
1581e5c401
Rename the output root directory in the render context.
2023-12-19 18:03:59 -05:00
Tom Alexander
2e1c979127
Add a prefix to footnote IDs.
...
This avoids a conflict with multiple blog posts rendering in the same stream.
2023-12-19 18:01:54 -05:00
Tom Alexander
d4b290ebe6
Remove unnecessary let statements from render macro.
2023-12-19 17:31:50 -05:00
Tom Alexander
4bb1f9983a
Standardize the construction of intermediate BlogPostPage.
2023-12-19 17:31:16 -05:00
Tom Alexander
261fe8a1a2
Fix the links to the blog posts.
2023-12-19 16:49:46 -05:00
Tom Alexander
add267d616
Switch over to using the render context in render calls.
2023-12-19 16:20:12 -05:00
Tom Alexander
cb3278aba5
Create a struct that will combine all the context for converting intermediate objects into the dust render context.
2023-12-19 14:54:12 -05:00
Tom Alexander
94d9a95967
Add a basic template for the blog stream page.
2023-12-19 14:13:29 -05:00