Skip to content

Simplify social.html.#24483

Merged
XhmikosR merged 1 commit intov4-devfrom
v4-dev-xmr-simplify-social-html
Oct 22, 2017
Merged

Simplify social.html.#24483
XhmikosR merged 1 commit intov4-devfrom
v4-dev-xmr-simplify-social-html

Conversation

@XhmikosR
Copy link
Copy Markdown
Member

@XhmikosR XhmikosR commented Oct 20, 2017

This also fixes the wrong usage of site.description instead of page.description in meta description.

From https://shopify.github.io/liquid/filters/default/:

default - returns the given variable unless it is null or the empty string, when it will return the given value, e.g. {{ undefined_variable | default: "Default value" }} #=> "Default value"

This also fixes the wrong usage of `site.description` instead of `page.description` in meta description.
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-simplify-social-html branch from dd613d3 to 4ce7db2 Compare October 22, 2017 16:10
@XhmikosR XhmikosR merged commit 3b75ebf into v4-dev Oct 22, 2017
@XhmikosR XhmikosR deleted the v4-dev-xmr-simplify-social-html branch October 22, 2017 16:20
@mdo mdo mentioned this pull request Oct 22, 2017
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.

3 participants