Tom Alexander
88e10010d8
Remove extra workspace from tekton pipeline.
build-natter Build build-natter has failed
Details
2023-12-21 20:36:03 -05:00
Tom Alexander
52c564d4fd
Merge branch 'docker'
2023-12-21 20:29:00 -05:00
Tom Alexander
f7874c1843
Add lighthouse job to build the natter images.
2023-12-21 20:25:46 -05:00
Tom Alexander
40120667f7
Add a Dockerfile for building and running natter.
2023-12-21 20:04:04 -05:00
Tom Alexander
b06798f23f
Prepare for publishing to crates.io.
2023-12-21 19:40:28 -05:00
Tom Alexander
35dff5cdaf
Rename to natter.
2023-12-21 19:28:31 -05:00
Tom Alexander
d641c8d638
Merge branch 'pretty'
2023-12-21 18:36:23 -05:00
Tom Alexander
7e2fd70212
Style the homepage.
2023-12-21 18:34:42 -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
01b55b7256
Make paragraphs under footnote definitions display inline.
...
This seems to be the behavior of the upstream org html exporter.
2023-12-21 17:44:40 -05:00
Tom Alexander
bd68681e44
Increase the size of headlines.
...
This is to make them stand out more from the regular text.
2023-12-21 17:31:19 -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
a8969f141d
Style code and verbatim.
2023-12-21 16:49:44 -05:00
Tom Alexander
6f049e00d4
Style inline source blocks.
2023-12-21 16:42:22 -05:00
Tom Alexander
45a1076d18
Style descriptive plain lists.
2023-12-21 16:39:26 -05:00
Tom Alexander
775c88d67a
Style footnotes.
2023-12-21 15:44:56 -05:00
Tom Alexander
efbf6cfc0c
Style ordered and unordered plain lists.
2023-12-21 15:31:13 -05:00
Tom Alexander
5af4a372ae
Make object trailing space dependent on post_blank.
2023-12-21 15:13:07 -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
b538750287
Preserve whitespace in src blocks.
2023-12-21 12:04:29 -05:00
Tom Alexander
65ed754bfe
Space out some elements.
2023-12-19 21:57:33 -05:00
Tom Alexander
80cdf5166b
Style quote blocks, h2, and h3.
2023-12-19 21:41:41 -05:00
Tom Alexander
3968121d54
Style src blocks.
2023-12-19 21:30:59 -05:00
Tom Alexander
a29b625631
Apply a dark background.
2023-12-19 20:33:21 -05:00
Tom Alexander
e193fcc2ba
Start applying styles to blog posts.
2023-12-19 19:23:56 -05:00
Tom Alexander
050b426f6f
Merge branch 'homepage'
2023-12-19 18:08:50 -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
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.
2023-12-19 10:59:34 -05:00
Tom Alexander
53cd55932b
Implement RenderBlogStream::new.
...
I still need to implement RenderBlogStreamEntry::new.
2023-12-19 10:47:03 -05:00
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.
2023-12-17 17:26:15 -05:00
Tom Alexander
2ba4a5e3d7
Generate newer and older links.
2023-12-17 17:16:26 -05:00
Tom Alexander
c3482cf1e4
Chunking the blog posts for the stream.
2023-12-17 16:57:37 -05:00
Tom Alexander
fdf84e3d0b
Finding the index page.
2023-12-17 15:45:50 -05:00
Tom Alexander
0a4376dfb8
Rename intermediate blog post source file.
2023-12-17 15:32:07 -05:00
Tom Alexander
e8ed4a4f4a
Initial structure for rendering a blog post stream.
2023-12-17 15:32:07 -05:00
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.
2023-12-17 14:56:23 -05:00
Tom Alexander
6968a5b02c
Merge branch 'header'
2023-12-17 14:47:45 -05:00
Tom Alexander
c84cfdc02b
Basic template for a page header.
2023-12-17 14:45:42 -05:00