Tom Alexander
dbfbce955d
Merge branch 'tracing'
2025-02-22 21:12:44 -05:00
Tom Alexander
2e08d2e59a
Set up tracing.
2025-02-22 21:12:33 -05:00
Tom Alexander
9f14534c10
Merge branch 'source_code_highlighting'
2025-02-22 19:56:47 -05:00
Tom Alexander
4e34ebc29e
Reformat css.
2025-02-22 19:45:04 -05:00
Tom Alexander
8d85d5ef79
Fix clippy.
2025-02-22 19:42:24 -05:00
Tom Alexander
7d73a3c948
Clean up.
2025-02-22 19:24:05 -05:00
Tom Alexander
c501f7cedc
Add syntax highlighting for bash.
2025-02-22 19:07:56 -05:00
Tom Alexander
41927764fc
Continue highlights across code block lines.
2025-02-22 18:45:20 -05:00
Tom Alexander
75a763569b
Disable ligatures in all code areas.
2025-02-22 18:27:45 -05:00
Tom Alexander
c67eb32774
Add more colors to python.
2025-02-22 18:26:33 -05:00
Tom Alexander
04952895cf
Add support for highlighting python based on the nix highlighter.
2025-02-22 17:56:56 -05:00
Tom Alexander
749f6d7a55
Dynamically register which CSS files are needed.
2025-02-22 17:28:24 -05:00
Tom Alexander
c4cf814f8d
Also add highlighting for paths.
2025-02-22 16:55:53 -05:00
Tom Alexander
3245e830d2
Assign more colors.
2025-02-22 16:46:47 -05:00
Tom Alexander
57eb1b81ec
Start assigning colors.
2025-02-22 16:35:05 -05:00
Tom Alexander
c601c8697a
Start a language-specific css file for highlight colors.
2025-02-22 16:25:36 -05:00
Tom Alexander
4ea1a46705
Update dust templates to support the new source code block format.
2025-02-22 16:13:23 -05:00
Tom Alexander
4cc04bda46
Update the render context to use the new src block format.
2025-02-22 16:04:47 -05:00
Tom Alexander
7e934cd360
Removed the enum and made plain src blocks just highlighted src blocks with only plain text in them.
2025-02-22 15:55:16 -05:00
Tom Alexander
e34e2ef75f
Implement the highlighted src intermediate format.
...
I am going to remove the enum because I realized plain src blocks can just be highlighted src blocks with only RawText entries.
2025-02-22 15:44:45 -05:00
Tom Alexander
c067ca9cc8
Introduce an enum for a separate highlighted src block type.
2025-02-22 15:22:35 -05:00
Tom Alexander
b06424cb17
Initial highlighting code.
...
The dust auto-escaping is causing this naive approach to fail so I will have to create a distinction between highlighted code and not-highlighted code.
2025-02-22 15:09:00 -05:00
Tom Alexander
ae6f18d19c
Center images when they are the only contents in a paragraph.
2025-02-22 13:15:58 -05:00
Tom Alexander
c371b999d5
Use the raw timestamp source for rendering timestamps.
2025-02-22 12:23:35 -05:00
Tom Alexander
073ac0ac25
Merge branch 'style_improvements'
2025-02-18 07:19:25 -05:00
Tom Alexander
1c356737c1
Only add vertical padding for the top of the first blog post and use the same background color throughout.
2025-02-17 22:32:38 -05:00
Tom Alexander
339bd433f6
Add slight padding the blog posts.
2025-02-17 22:16:43 -05:00
Tom Alexander
bb5fa6a487
Swap site background and blog post background to give better contrast.
2025-02-17 22:12:08 -05:00
Tom Alexander
71b6db14d5
Add a background color for stand-alone blog posts.
2025-02-17 22:08:46 -05:00
Tom Alexander
69fb91db37
Remove padding on blog stream posts.
...
It was causing an ugly tail on blog stream posts.
2025-02-17 22:00:33 -05:00
Tom Alexander
5fd93fc648
Allow line wrapping even when contiguous words are really long.
...
The code blocks were causing horizontal scrolling on mobile.
2025-02-17 21:29:43 -05:00
Tom Alexander
033a17e355
Increase home link font size.
2025-02-17 21:29:43 -05:00
Tom Alexander
824f34bd4c
Make everything box-sizing: border-box.
2025-02-17 20:57:40 -05:00
Tom Alexander
d93e91c625
Increase the font size for inline source blocks to the normal font size.
2025-02-17 20:54:56 -05:00
Tom Alexander
db21bd8a55
Restrict media to the size of its container.
2025-02-17 20:49:36 -05:00
Tom Alexander
69729bd329
Include viewport meta tag.
2025-02-17 20:49:36 -05:00
Tom Alexander
ddea8fdceb
Increase title font-size.
2025-02-17 19:03:48 -05:00
Tom Alexander
71f639e503
Fix size of code blocks in headlines and make the line spacing more pleasant.
2025-02-16 20:09:17 -05:00
Tom Alexander
8714d3b650
Increase the division between posts.
2025-02-16 17:39:21 -05:00
Tom Alexander
88064409a6
Add support for PNGs.
2025-02-16 15:46:26 -05:00
Tom Alexander
7c17087920
Show bold text as bold.
2025-02-16 11:45:52 -05:00
Tom Alexander
c1837addd0
Remove unused variable.
2025-02-08 22:05:22 -05:00
Tom Alexander
79c36476bd
Merge branch 'render_images'
2025-02-08 21:48:23 -05:00
Tom Alexander
4a0cbf3ba5
Do not copy a file if it already exists.
2025-02-08 21:28:41 -05:00
Tom Alexander
59ee13345e
Copy the images into the output.
2025-02-08 19:55:50 -05:00
Tom Alexander
bf7f37260c
Mark the image files for copying.
2025-02-08 19:23:19 -05:00
Tom Alexander
ff478253c3
Generate render link based on path to file.
2025-02-08 19:14:08 -05:00
Tom Alexander
3e952ef0f4
Implement a macro for pushing the directory.
2025-02-08 18:37:32 -05:00
Tom Alexander
4e0f66401d
Update the dependency manager file stack when rendering blog post pages.
2025-02-08 18:01:59 -05:00
Tom Alexander
3867f965d2
Add a dependency manager for render-time actions.
...
This will be used for supporting things like copying static files or rendering code blocks like gnuplot or graphviz.
2025-02-08 17:29:09 -05:00