hexo-generator-feed icon indicating copy to clipboard operation
hexo-generator-feed copied to clipboard

Fixes to handle no published posts

Open jlVidal opened this issue 10 years ago • 5 comments

The changes avoid unexpected exceptions on Hexo when there's no posts on the blog, or just drafts.

jlVidal avatar Nov 12 '15 02:11 jlVidal

check failed with Template render error: (unknown path) [Line 7, Column 35]

Xuanwo avatar Nov 12 '15 03:11 Xuanwo

I don't know why is not compiling a ternary if, in my computer works fine. Any ideas?

jlVidal avatar Nov 12 '15 04:11 jlVidal

It looks like you return a empty string, maybe this cause a problem ? https://github.com/hexojs/hexo-generator-feed/commit/d0a75316d4df1136b74f4bd3e316b99d40fc7bef#diff-2d50619f126a12162223a89f7b15c54eL7

Xuanwo avatar Nov 18 '15 07:11 Xuanwo

Still an issue to date

michaelowens avatar Jun 18 '18 08:06 michaelowens

LGTM

tomap avatar Aug 18 '18 21:08 tomap