124 Commits

Author SHA1 Message Date
58af575386 Make code highlight sample page 2025-06-16 20:18:05 -07:00
895ef13d73 Write Pandoc lua-filter in MoonScript and compile to Lua on build 2025-06-16 20:18:05 -07:00
46aa6c829f WIP: Syntax highlight colors 2025-06-16 20:18:05 -07:00
6bd8898125 Add latest pandoc installation to Dockerfile
so we can get syntax highlighting for heex code
2025-06-16 20:18:05 -07:00
babe6e6f40 Add moonscript as a code block class 2025-06-16 20:18:05 -07:00
f15f3f5011 Clean up 2025-06-16 20:18:05 -07:00
9b4ab48705 Clean up 2025-06-16 20:18:05 -07:00
92a1650e75 I think I may have figured it out 2025-06-16 20:18:05 -07:00
d22283905a Modify moonscript lexer to get correct syntax highlighting
of interpolated strings
2025-06-16 20:18:05 -07:00
dbc71b4c0b Clean up 2025-06-16 20:18:05 -07:00
14dd4f24c2 Use markdown in blurb 2025-06-16 20:18:05 -07:00
937c19c141 WIP 2025-06-16 20:18:05 -07:00
cb8f6e8d01 Render blurbs as markdown 2025-06-16 20:18:05 -07:00
9f2b1a637e WIP 2025-06-16 20:18:05 -07:00
7dc00e33c4 Rename function 2025-06-16 20:18:05 -07:00
d0fc8efb96 Add lint info to README 2025-06-16 20:18:05 -07:00
0a32000d7f Add a lint command to Makefile 2025-06-16 20:18:05 -07:00
aff5584c85 Use cif in root template 2025-06-16 20:18:05 -07:00
b89683133d Don't try to access globals 2025-06-16 20:18:05 -07:00
11d4b97035 Don't need to add titleize to cosmo_helpers 2025-06-16 20:18:05 -07:00
c3142e9cd4 Fix blurb encoding 2025-06-16 20:18:05 -07:00
a49813e279 Return a list comprehension 2025-06-16 20:18:05 -07:00
4cf5ed2aa8 Clean up 2025-06-16 20:18:05 -07:00
a9f7837b6e Ok 2025-06-16 20:18:05 -07:00
a1b63d84c9 So much better 2025-06-16 20:18:05 -07:00
4bca13c559 The reason it was so hard to pass in a block outside of a template is because you're not supposed to do that :/
you're supposed to just use moonscript to build it
2025-06-16 20:18:05 -07:00
28405ca11b WIP 2025-06-16 20:18:05 -07:00
9357c6e351 WIP 2025-06-16 20:18:05 -07:00
51b82fbb9e WIP 2025-06-16 20:18:05 -07:00
2b712539fc WIP: further refinement 2025-06-16 20:18:05 -07:00
d495203aab ! 2025-06-16 20:18:05 -07:00
ce26dd35be WIP 2025-06-16 20:18:05 -07:00
b9b1209294 Omg 2025-06-16 20:18:05 -07:00
f0e4655cd7 WIP 2025-06-16 20:18:05 -07:00
53e608abd2 Some refactor 2025-06-16 20:18:05 -07:00
ba287b90e5 Refactor 2025-06-16 20:18:05 -07:00
ba87f7a65b Improve documentation according to ldoc 2025-06-16 20:18:05 -07:00
178ad8a783 Add default mime type in nginx.conf 2025-06-16 20:18:05 -07:00
82433ff000 Clean up 2025-06-16 20:18:05 -07:00
b43b070221 Clean up target logic 2025-06-16 20:18:05 -07:00
d2741060a5 WIP 2025-06-16 20:18:05 -07:00
cb708439d2 WIP: target 2025-06-16 20:18:05 -07:00
f13e5e947c WIP 2025-06-16 20:18:05 -07:00
76f99322f7 Clean up 2025-06-16 20:18:05 -07:00
21a4d933ba WIP 2025-06-16 20:18:05 -07:00
d1339160f0 WIP: 2025-06-16 20:18:05 -07:00
185d1b06b3 Use function with or without template 2025-06-16 20:18:05 -07:00
115cc65d4a Revert overwritting page.target 2025-06-16 20:18:05 -07:00
052fc35670 Fix post list limit 2025-06-16 20:18:05 -07:00
868d984987 Use old way, it's better 2025-06-16 20:18:05 -07:00