dingoblog / dingo

Blog engine written in Go
MIT License
284 stars 37 forks source link

Template method "DateInt64" is missing #65

Closed TimothyYe closed 8 years ago

TimothyYe commented 8 years ago

From template file, I found it calls {{ DateInt64 .CreateTime "YYYY-MM-DD"}}. But in func registerFuncMap() , DateInt64 is not registered. Is it missing?

dinever commented 8 years ago

@TimothyYe Thanks for the feedback!

I've just submitted a quick fix

TimothyYe commented 8 years ago

I just fixed this issue a moment ago... Actually we can invoke method DateFormat instead of DateInt64... Code is not pushed to GitHub yet, then I found that you already removed that sidebar template... -_-#

dinever commented 8 years ago

Yeah, the sidebar template is actually unused. 😸

It is actually called from /view/default/default.html#L54 now.