Last active
August 29, 2015 14:15
-
-
Save NickToye/0aa93583eadf96ba6af9 to your computer and use it in GitHub Desktop.
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
<!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