jacobobryant / platypub

A publishing platform built with Biff
MIT License
65 stars 13 forks source link

Make slug inferring work again #59

Closed jeffp42ker closed 2 years ago

jeffp42ker commented 2 years ago

Resolves #52 in the suggested way.

jacobobryant commented 2 years ago

Looks great. I made one change: instead of resolving :slugify to a function, I've hard-coded it in a case form. Doesn't really matter at this stage, but eventually theme code will be considered untrusted, at which point we wouldn't want to allow a theme author to run just any function.