Jekyll includes a template subsystem called Liquid.
For example, this:
--- day: tues --- # hi
will produce this:
<h1 id="hi-tues">hi tues</h1>
Files without the --- header lines are simply copied to the _site folder.
---
_site