Re:Show HN: Shite: The little hot-reloadin' static site make...
by 082349872349872 on Monday January 23, 2023 @10:10AM
(#34489685)
nice ... and the Heredocs are a nice way to template!
[ Parent
| on HN ]
Re:Show HN: Shite: The little hot-reloadin' static site make...
by adityaathalye on Monday January 23, 2023 @12:16PM
(#34491795)
Right?!
It was a bit of a lightbulb moment. I wanted a way to just write HTML templates. What really sealed the deal was the ability to punch content from stdin anywhere within a heredoc's scope using `$(cat -)`: https://github.com/adityaathalye/shite#templating-system