Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portfolio: load project screenshot only if defined #92

Open
wants to merge 7 commits into
base: master
from

Conversation

@MarcoIeni
Copy link

MarcoIeni commented Nov 7, 2019

Description

In this way, screenshot becomes optional for a project. I.e. you can omit "screenshot: dera.png" in the front matter.

Screenshots

This is how it looks like when a screenshot is not defined in the front matter for a project before and after this commit.

Before

2019-11-07_713x934

After

2019-11-07_748x934

Edit

It's the first time I play with hugo, so feel free to adjust the code.

MarcoIeni added 7 commits Nov 7, 2019
In this way, screenshot becomes optional for a project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.