Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Portfolio: load project screenshot only if defined #92
In this way, screenshot becomes optional for a project. I.e. you can omit "screenshot: dera.png" in the front matter.
This is how it looks like when a screenshot is not defined in the front matter for a project before and after this commit.
It's the first time I play with hugo, so feel free to adjust the code.