148 Commits (main)

Author SHA1 Message Date
Tom Alexander 7e1e070e23
Update organic.
format Build format has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
rust-test Build rust-test has succeeded Details
2 days ago
Tom Alexander 59a91331cc
Add support for target links.
format Build format has succeeded Details
build-natter Build build-natter has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
rust-test Build rust-test has succeeded Details
4 months ago
Tom Alexander 35cf675c87
Fix clippy.
format Build format has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
rust-test Build rust-test has succeeded Details
4 months ago
Tom Alexander 3b63bbdfde
Add support for subpaths. 4 months ago
Tom Alexander 24218f2979
Generate post links, so far only top-level. 4 months ago
Tom Alexander 6a086d57de
Generate Post link when the protocol is post. 4 months ago
Tom Alexander 93e0a2fe98
Add URL parsing. 4 months ago
Tom Alexander 86d4e25aa0
Add support for a target variable in regular links.
This will initially be used for supporting "post://" links.
4 months ago
Tom Alexander cb5d131097
Add support for plain links.
format Build format has succeeded Details
rust-test Build rust-test has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
build-natter Build build-natter has succeeded Details
4 months ago
Tom Alexander eb67327574
Do not error if posts directory does not exist.
build-natter Build build-natter has succeeded Details
format Build format has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
rust-test Build rust-test has succeeded Details
4 months ago
Tom Alexander 8905c9356b
Add a build for regular non-blog-post pages from org source. 4 months ago
Tom Alexander 138d694b27
Copy static files over to the output directory. 4 months ago
Tom Alexander 397d4ea0bc
Fix clippy issues.
rust-test Build rust-test has succeeded Details
rust-clippy Build rust-clippy has succeeded Details
build-natter Build build-natter has succeeded Details
format Build format has succeeded Details
4 months ago
fluxcdbot df339f20fa CI: autofix rust code.
rust-clippy Build rust-clippy has failed Details
rust-test Build rust-test has succeeded Details
format Build format has succeeded Details
4 months ago
Tom Alexander 95d4ee7080
Render the table groups. 4 months ago
Tom Alexander fa2dd96f78
Update intermediate phase for table groups. 4 months ago
Tom Alexander 7741e192f5
Group table rows into sections. 4 months ago
Tom Alexander 35dff5cdaf
Rename to natter. 4 months ago
Tom Alexander 4fb08bc7d0
Wrap inline footnote definitions in a paragraph tag.
This is to match the behavior of the upstream org html exporter.
4 months ago
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.
4 months ago
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.
4 months ago
Tom Alexander 72952adb6b
Add post_blank to the rust types. 4 months ago
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.
4 months ago
Tom Alexander 2ae4839ce0
Remove common whitespace prefix from src block lines. 4 months ago
Tom Alexander 5654c40d03
Get the real language for src blocks from the org source. 4 months ago
Tom Alexander da81f93e4a
Re-enable the CSS reset sheet. 4 months ago
Tom Alexander 1581e5c401
Rename the output root directory in the render context. 4 months ago
Tom Alexander 2e1c979127
Add a prefix to footnote IDs.
This avoids a conflict with multiple blog posts rendering in the same stream.
4 months ago
Tom Alexander d4b290ebe6
Remove unnecessary let statements from render macro. 4 months ago
Tom Alexander 4bb1f9983a
Standardize the construction of intermediate BlogPostPage. 4 months ago
Tom Alexander 261fe8a1a2
Fix the links to the blog posts. 4 months ago
Tom Alexander add267d616
Switch over to using the render context in render calls. 4 months ago
Tom Alexander cb3278aba5
Create a struct that will combine all the context for converting intermediate objects into the dust render context. 4 months ago
Tom Alexander 94d9a95967
Add a basic template for the blog stream page. 4 months ago
Tom Alexander 6511115b95
Implement a flawed version of RenderBlogStreamEntry::new.
There are some shortcomings in this implementation listed in the comments, but this is the general structure.
4 months ago
Tom Alexander 53cd55932b
Implement RenderBlogStream::new.
I still need to implement RenderBlogStreamEntry::new.
4 months ago
Tom Alexander cbe2010407
Invoke dust to render the stream pages.
At this point the render_blog_stream function is done, but RenderBlogStream::new needs to be implemented to actually generate the render context. The body of this function should be similar to convert_blog_post_page_to_render_context.
4 months ago
Tom Alexander 2ba4a5e3d7
Generate newer and older links. 4 months ago
Tom Alexander c3482cf1e4
Chunking the blog posts for the stream. 4 months ago
Tom Alexander fdf84e3d0b
Finding the index page. 4 months ago
Tom Alexander 0a4376dfb8
Rename intermediate blog post source file. 4 months ago
Tom Alexander e8ed4a4f4a
Initial structure for rendering a blog post stream. 4 months ago
Tom Alexander 60555999db
TEMP: Disable the css reset.
This is so I can develop the header without having any CSS written yet since the page is a mess without CSS.
4 months ago
Tom Alexander c98489cacb
Add the page header to the render context. 4 months ago
Tom Alexander 35dbab0ceb
Create a page header struct. 4 months ago
Tom Alexander 884215a7e1
Writing the stylesheets to the output folder. 4 months ago
Tom Alexander 20c55f0708
Loading stylesheets from the default environment. 4 months ago
Tom Alexander 270c42a509
Update to use get_value from the latest organic code. 6 months ago
Tom Alexander b654ca4859
Add render phase to tables. 6 months ago
Tom Alexander 386af57ce6
Add intermediate stage for tables. 6 months ago