Both Jykyll and Hugo support front-matter/
Jekyll
---
food: Pizza
---
<h1>{{ page.food }}</h1>
Hugo
TBD
Something about embedding Python and logic to the "front-matter".
import random
[----]
program = request.qs['program']
excitement = "!" * random.randint(1, 10)
[----] text/html via stdlib_format
<h1>Greetings, {program}{excitement}</h1>
[----] text/plain via stdlib_format
Greetings, {program}{excitement}
[----] application/json via json_dump
{ "program": program
, "excitement": excitement
}