Skip to content

Instantly share code, notes, and snippets.

@NickToye
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NickToye/0aa93583eadf96ba6af9 to your computer and use it in GitHub Desktop.
Save NickToye/0aa93583eadf96ba6af9 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
{head}
<body class="articles">
{embed="includes/header"}
{exp:channel:entries channel="articles" dynamic="no" url_title="{segment:article}" status="open|featured"}
<section class="block block--intro">
<div class="panel">
<header class="panel__heading">
<h1>{title}</h1>
</header>
<div class="panel__body">
<figure>
{exp:ce_img:pair src="{article_featured_image}"}
<img src="{made}" alt="" width="{width}" height="{height}" />
{/exp:ce_img:pair}
</figure>
</div>
</div>
</section>
<main>
<article class="article">
<div class="wrapper">
{exp:ce_img:bulk max_width="800" save_type="png" crop="yes" hide_relative_path="yes"}
{article_content}
{/exp:ce_img:bulk}
</div>
</article>
</main>
{/exp:channel:entries}
</body>
{embed="includes/footer"}
{foot}
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment