Last active
December 26, 2015 05:29
-
-
Save CNSam/7101448 to your computer and use it in GitHub Desktop.
EE - Assets - Index.html - If Statement Issue
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
{exp:channel:entries channel="home"} | |
{embed="embeds/_header-meta" } | |
<!-- END HEADER INCLUDE --> | |
<style> | |
</style> | |
<div class="sliderContainer fullWidth clearfix"> | |
<div id="full-width-slider" class="royalSlider rsDefault heroSlider rsMinW"> | |
{if "{slider_images:total_files}" > 0 } | |
{slider_images} | |
<div class="rsContent"> | |
<img src="{url}" alt="{alt_text}" class="rsImg" /> | |
{if desc !=''} | |
<div class="rsCaption"> | |
<h2>{title}</h2> | |
<p>{desc}</p> | |
{if "{location}" !=''}<a href="{location}" class="read-more">Find Out More</a>{/if} | |
{if "{author}" !=''}<a class="read-more clearfix">Image by: {author}</a>{/if} | |
</div> | |
<div class="rsABlock" data-move-offset="200" data-move-effect="right"> | |
<div class="triangle"></div> | |
</div> | |
<div class="rsABlock triangle-content" data-move-offset="200" data-delay="600"> | |
<h2>{title}</h2> | |
<p>{desc}</p> | |
{if "{location}" !=''}<div class="credit"> <span><a href="{location}" class="read-more">Find Out More</a></span></div>{/if} | |
{if "{author}" !=''}<div class="credit">Image by: <span> {author}</span></div>{/if} | |
</div> | |
{/if} | |
</div> | |
{/slider_images} | |
{/if} | |
</div> | |
<div id="caption-section" class="clearfix"></div> | |
</div> | |
<!-- START FOOTER INCLUDE --> | |
{embed="embeds/_footer-meta" stick-footer="false"} | |
{/exp:channel:entries} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment