Created
February 7, 2018 23:35
-
-
Save rruhlen/f2a8ece586258d1a68ca8278cd5118f5 to your computer and use it in GitHub Desktop.
Insert brand id parameter to article rating liquid block. Fixes issue where the default brand has a CNAME and the other brands need to use the Desk subdomain.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- fix multibrand issue with article rating links --> | |
{% capture tempfix %}rate?b_id={{desk.current_brand.id}}&{% endcapture %} | |
{{ rate_block | replace: "rate?", tempfix}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment