fix(lists): nested parser sometimes would divide by zero
fix(lists): fix nil pointer reference in parser
docs(prose): add help section for supported hugo variables
feat: parse nav links to convert relative urls to absolute
This allows users to include posts -- from their prose blog -- as links
in the nav without needing to specify an absolute URL.
feat: tag posts with slug as classname on body
This will make it easier to do per post style changes.
Fixed slug being filename when file contents are the same and allow cms post management for future posts
fix(lists): need template funcs for rss feeds
fix(lists): rss feeds did not handle nested lists
feat(css): abstracted common css into single file for all services
It was becoming tedious to make the same change in three different css
files, so I abstracted the main styling into a single file and am now
copying the css into each service's public directory with `make css`.
style(prose): update default styling
- Increased header sizes
- Increased font size
- Tweaked colors for light mode
- Tweaked blockquote padding
fix(prose): init html policy once
fix(prose): regression where syntax highlighting was broken
bluemonday strips all classes so we had to allow classes.
fix(lists): spec copy changes
fix(lists): wrong anchor links
feat(lists): nested lists
Nested lists adds more complexity to our parser but the time complexity
is still `O(n)` where `n = lines in the list`.
feat(prose): support limited raw html inside markdown
It would be nice to support limited html in our markdown files so users
can futher customize their blog posts.
We are using https://github.com/microcosm-cc/bluemonday to handle proper
sanitization.
Added raw handler to lists