Last active
August 29, 2015 14:22
-
-
Save jandreaucodes/71b3988303b24b77a4b6 to your computer and use it in GitHub Desktop.
Dynamically change your Web Theme's logo
This file contains hidden or 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
| {% if desk.current_brand.name == 'brand 1' %} | |
| <img src="http://www.PATHTOMYIMAGE.com/brand1.jpg"> | |
| {% elsif desk.current_brand.name == 'brand 2' %} | |
| <img src="http://www.PATHTOMYIMAGE.com/brand2.jpg"> | |
| {% elsif desk.current_brand.name == 'brand 3' %} | |
| <img src="http://www.PATHTOMYIMAGE.com/brand3.jpg"> | |
| {% else %} | |
| <img src="http://www.PATHTOMYIMAGE.com/defaultlogo.jpg"> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment