Serum.Post, Serum.Page Improvements
Closed this issue · 0 comments
Common
-
Use
source
(Serum.File
struct) instead ofsrc
,data
, etc...For richer error details and blaming.
-
Treat all
markdowns/HTMLs as EEx templates? (#115, #116)It would be better if we could take benefits from Serum template helpers in markdowns. AndI thought that applying different procedure for processing plain HTMLs and EEx templates is meaningless.EDIT: Dropped EEx support for markdown, due to some quirks that I couldn't expect.
-
Support other source formats for blog posts (#119)
Posts
-
Replace
date
withDateTime
struct, and removeraw_date
Since Serum v1.0.0, users have access to Timex within their templates. Therefore the string formatting of datetimes can be performed in templates. No need to keep
date_format
inserum.exs
.