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

Remove buggy conditional around related posts header #901

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

Bounga
Copy link
Contributor

@Bounga Bounga commented Mar 15, 2017

This removes a buggy conditional that checks if related_label is
available in translations and prevents header to be displayed in
some edge cases.

Fix #900

This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix mmistakes#900
@mmistakes
Copy link
Owner

Thanks for taking care of this @Bounga.

@mmistakes mmistakes merged commit 958b399 into mmistakes:develop Mar 16, 2017
RobinYu added a commit to RobinYu/robinyuuu.github.io that referenced this pull request Mar 18, 2017
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix mmistakes#900
kkunapuli pushed a commit to kkunapuli/kkunapuli.github.io that referenced this pull request May 30, 2019
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix mmistakes#900
makaroniame added a commit to makaroniame/makaroniame-old.github.io that referenced this pull request May 18, 2022
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix mmistakes#900
jchwenger pushed a commit to jchwenger/jchwenger.github.io that referenced this pull request May 5, 2023
This removes a buggy conditional that checks if `related_label` is
available in translations before displaying the header for related
posts but this header already handle missing translation by using a
default string.

With this fix the header is displayed even if the translation for this
label isn't available.

Fix mmistakes#900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants