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

Broken `teaser` image in archive single grid type #412

Closed
mmistakes opened this Issue Aug 1, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@mmistakes
Owner

mmistakes commented Aug 1, 2016

If site.teaser is left blank in _config.yml unspecified teaser images in archive-single.html grid type should be blank.

Previously {% if include.type == "grid" and teaser != blank %} condition worked to check if site teaser had been assigned.

@mmistakes mmistakes added the Type: Bug label Aug 1, 2016

@mmistakes mmistakes self-assigned this Aug 1, 2016

@mmistakes mmistakes closed this in 3e2e7da Aug 1, 2016

mmistakes added a commit that referenced this issue Aug 1, 2016

Fix blank `site.teaser` bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close #412

jluccisano added a commit to jluccisano/jluccisano.github.io that referenced this issue May 6, 2017

Fix blank `site.teaser` bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close mmistakes#412

antonizoon pushed a commit to antonizoon/antonizoon.github.io that referenced this issue Jul 27, 2018

Fix blank `site.teaser` bug
- Use `assign` instead of capture and then check if variable is `nil` or not.
- Close mmistakes#412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment