Closed amandeepmittal closed 8 years ago
did you mean this?
//- excerpt
- function excerpt(content) return content.split("<!-- more -->")[0]; -}
If so, I see 2 syntax errors:
return
I certainly did. However, it does not looks as confusing as your emoji sounds. Also, the issue was solved by myself months back so I am closing it now. The curly brace was missing before return.
//- excerpt
shows syntax error for '-' (hyphen) and if I remove hyphen shows syntax error for '}' end curly brace.