You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix I went with was to show a prettier error message. The default scaffold site has the index.html file derived from all the files on your page, without any files then that file doesn't exist. So to have an empty loop is actually a lot harder than it might appear.
Steps to reproduce:
mkdir no-posts-folder && cd no-posts-folder && reptar init
rm -rf _posts
reptar watch
Expected result:
Reptar renders
_templates/index.html
with an empty loop.Actual result:
The text was updated successfully, but these errors were encountered: