Commit graph

11 commits

Author SHA1 Message Date
31acd82fd8 Get the line breaking situation working correctly
The way whitespace is handled in Hugo templates is difficult to understand. I
accidentally pushed a broken version to production. This fixes the issue and
improves the formatting of the template code.
2024-11-14 08:49:09 -08:00
73e3cec711 Clean up some comments 2024-11-13 17:03:38 -08:00
b9aa2d4201 Fix the script import 2024-10-07 20:55:09 -07:00
cd156d2b6d Script: Add default for the module argument → false 2024-08-08 10:15:59 -10:00
23f31c4c10 Script: Implement a proper type check
Use `printf "%T"` to get a string that indicates the type of the `resource`
context item. Build a resource if its a string.

Pass a minify argument through to the build_js template.
2024-08-08 09:55:08 -10:00
8ae8136b8a Layouts: Clean up doc comment for script partial 2024-08-07 08:13:56 -10:00
42f70cc8fb script.html 2024-08-03 16:17:44 -07:00
6cd60f7559 Add a missing - to collapse whitespace in build_js.html 2024-08-03 16:17:32 -07:00
13e564d388 build_js template 2024-08-03 09:27:04 -07:00
24a0b6aa5e Go module 2024-08-03 09:22:21 -07:00
0d919ca733
Initial commit 2024-08-03 09:21:00 -07:00