2 ms·
nice ... and the Heredocs are a nice way to template!
by 082349872349872 4y ago
nice ... and the Heredocs are a nice way to template!
- adityaathalye 4y agoRight?! 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 https://github.com/adityaathalye/shite#templating-system