Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Handling of empty markdown or missing meta-data #120
Create an empty index.md file or one without meta-data header in your gallery and initiate a 'sigal build' and enjoy the exception:
Some details about our usage scenario: We are using Sigal as our internal intranet event gallery. There we do host tens of thousands of photos of our events. The photos are managed by our marketing department and some other administrative staff.
Your implementation of read_markdown() does rely on existing meta-data in these files. So the result is an exception and cancelled gallery build.
Thanks for the details. I can reproduce if the file is empty (I didn't test this yesterday), but not if there the file contains a text and no metadata (in this case