Skip to content

Instantly share code, notes, and snippets.

@dompascal
Created December 6, 2013 12:01
Show Gist options
  • Select an option

  • Save dompascal/7822684 to your computer and use it in GitHub Desktop.

Select an option

Save dompascal/7822684 to your computer and use it in GitHub Desktop.
EE - HTML Index template for landing page.
{embed="inc/html-header"}
<!-- site wrapper -->
<div id="site-wrapper">
<!-- header -->
<header class="home">
{embed="inc/header"}
<!-- nav -->
<nav>
{embed="inc/nav"}
</nav>
<!-- end nav -->
</header>
<!-- end header -->
<!-- body content -->
<section>
{exp:channel:entries entry_id="{exp:structure:child_ids entry_id='1'}" fixed_order="{exp:structure:child_ids entry_id='1'}" parse="inward" status="Open"}
{body-content limit="1"}
<!-- panel -->
<article class="panel">
<!-- thumb -->
<div class="thumb" id="panel-{row_id}">
<!-- header -->
<h2>{title} | <span style="font-weight: bold;text-transform: uppercase;font-size: 12px;">Click for info...</span></h2>
<!-- end header -->
<!-- img -->
<div class="img">
{exp:ce_img:pair src="{photos}" width="931" height="471" crop="yes" quality="90"}
<img src="{made}" alt="" width="{width}" height="{height}" />
{/exp:ce_img:pair}
</a>
</div>
<!-- end img -->
</div>
<!-- end thumb -->
<!-- overlay -->
<div class="overlay" id="overlay-{row_id}">
{text-content}
</div>
<!-- end overlay -->
</article>
<!-- end panel -->
{/body-content}
{/exp:channel:entries}
</section>
<div class="clearfix"></div>
<!-- end body content -->
<!-- footer -->
<footer>
{embed="inc/footer"}
</footer>
<!-- end footer -->
</div>
<!-- end side wrapper -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment