Skip to content

Instantly share code, notes, and snippets.

@nataliepo
Created August 22, 2013 21:28
Show Gist options
  • Save nataliepo/6313027 to your computer and use it in GitHub Desktop.
Save nataliepo/6313027 to your computer and use it in GitHub Desktop.
recipes
<mt:include module="Global Vars">
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<head>
<title><$MTEntryTitle remove_html="1"$> | Serious Eats : Recipes</title>
<meta name="description" content="<MTEntryBody words="40" convert_breaks="0" encode_html="1">..." />
<MTEntryIfTagged><meta name="keywords" content="Serious Eats, food, media, recipes, news, <MTEntryTags glue=", "><$MTTagName$></MTEntryTags>" /></MTEntryIfTagged>
<mt:include module="sponsorLogic">
<mt:include module="includeGlobalHeadTags" hasSectionNav="true">
<mt:If tag="EntryQuizzes">
<script src="<mt:var name="static_asset_url">/js/jquery.jqURL.js" type="text/javascript"></script>
</mt:If>
<link rel="alternate" type="application/atom+xml" title="Serious Eats: Recipes" href="http://feeds.feedburner.com/seriouseats/recipes" />
<script type="text/javascript" src="<mt:var name="static_asset_url">/js/individualPost.js?v=022408"></script>
<mt:if var="hasCustomAdCampaign">
<mt:include module="ad-DFP-Module" hasLeaderboard="$showLeaderboard" sponsored="$sponsorName">
<mt:else>
<mt:include module="ad-DFP-Module" hasLeaderboard="true">
</mt:if>
<MTInclude module="whiplashCommentsModule" blog_id="0">
<mt:include module="individualEntryPageMap" blog_id="0">
</head>
<body id="recipes">
<mt:include module="topBar">
<div id="container" class="entry">
<MTInclude module="Global Masthead" blog_id="0" selectedItemID="RE">
<div id="content">
<section role="main">
<mt:include module="recipeTools">
<!-- google_ad_section_start -->
<article class="hrecipe">
<a href="<$mt:EntryLink archive_type="Category"$>" class="label site-recipes"><$mt:EntryCategory$></a>
<mt:EntryCategories>
<mt:HasParentCategory>
<mt:ParentCategory>
<$mt:IfCategory label="Sponsor-Recipes">
<div class="sponsor-recipe">SPONSOR RECIPE</div>
</mt:IfCategory>
</mt:ParentCategory>
</mt:HasParentCategory>
</mt:EntryCategories>
<mt:include module="sponsorBlock">
<h1 class="fn"><$MTEntryTitle$></h1>
<mt:include module="postMetadata">
<section class="content-unit">
<mt:AssetContainer limit="1" sort_order="descend">
<img src="<$mt:AssetURL$>" alt="<$mt:AssetFileName$>" class="photo" />
</mt:AssetContainer>
<mt:If tag="EntryBody">
<div id="entry-text" class="summary">
<$mt:EntryBody$>
<$mt:EntryMore$>
</div>
</mt:If>
<h3 class="fn"><$MTEntryTitle$></h3>
<div class="ziplist-tools">
<div class="dialog hide">
<span>Loading text goes here</span>
<a href="<mt:var name="global_url">/recipe-box-instructions/" class="help">What's This?</a>
<a class="ok">OK</a>
</div>
<div class="wrapper">
<a class="btn" id="ziplist-add-to-box" title="Save this recipe to your recipe box for later">Save Recipe</a>
</div>
</div>
<div class="recipe-about">
<h2>About This Recipe</h2>
<table>
<mt:EntryIfField field="number_serves"><tr><td><span class="label">Yield:</span></td><td><span class="info yield"><$mt:EntryFieldValue field="number_serves"$></span></td></tr></mt:EntryIfField>
<mt:EntryIfField field="active_time"><tr><td><span class="label">Active time:</span></td><td><span class="info prepTime"><$mt:EntryFieldValue field="active_time"$></span></td></tr></mt:EntryIfField>
<mt:EntryIfField field="total_time"><tr><td><span class="label">Total time:</span></td><td><span class="info totalTime duration"><$mt:EntryFieldValue field="total_time"$></span></td></tr></mt:EntryIfField>
<mt:EntryIfField field="equipment"><tr><td><span class="label">Special equipment:</span></td><td><span class="info"><$mt:EntryFieldValue field="equipment"$></span></td></tr></mt:EntryIfField>
<mt:EntryIfLinkingEntries field="related_recipe">
<tr><td><span class="label">This recipe appears in:</span></td><td>
<mt:EntryLinkingEntries field="related_recipe" sort_by="instance">
<span class="info"><a href="<$mt:EntryPermalink$>"><$mt:EntryTitle encode_html="1"$></a></span>
</mt:EntryLinkingEntries></td></tr>
</mt:EntryIfLinkingEntries>
<mt:EntryIfField field="average_rating"><tr><td class="rater"><span class="label">Rated:</span></td><td><$mt:EntryFieldValue field="average_rating"$></td></tr></mt:entryiffield>
</table>
</div>
<mt:EntryIfFieldGroup group="ingredients">
<div class="content-block ingredients">
<h2>Ingredients</h2>
<div class="ingredients-section">
<ul>
<mt:EntryFieldGroup group="ingredients">
<li><span class="ingredient"><$mt:EntryFieldValue field="ingredient"$></span></li>
</mt:EntryFieldGroup>
</ul>
</div>
</div><!--/ingredients-->
</mt:EntryIfFieldGroup>
<div class="content-block procedure">
<h2>Procedures</h2>
<ol class="procedure-steps instructions">
<$mt:Var name="step_num" value="1"$>
<mt:EntryFieldGroup group="procedures">
<li class="instruction">
<div class="procedure-number<mt:If name="step_num" eq="1"> checked</mt:If>"><$mt:Var name="step_num"$></div>
<mt:EntryIfField field="procedure_thumb">
<mt:EntryLinkedAssets field="procedure_thumb">
<div class="recipe-image-small">
<a href="#">
<img src="<$mt:AssetThumbnailURL width="90"$>" />
<div class="recipe-zoom"><!-- --></div>
</a>
</div>
<div class="recipe-image-large">
<img src="<$mt:AssetURL$>" />
<div class="recipe-zoom"><!-- --></div>
</div>
</mt:EntryLinkedAssets>
</mt:EntryIfField>
<div class="procedure-text">
<p><$mt:EntryFieldValue field="procedure"></p>
</div>
</li>
<$mt:Var name="step_num" op="++" setvar="step_num"$>
</mt:EntryFieldGroup>
</ol>
</div><!--procedure-->
</section> <!--/ content-unit -->
<mt:ignore>Outbrain related entries module</mt:ignore>
<mt:include module="outbrainRelatedEntriesModule" blog_id="0">
<mt:ignore>End Outbrain related entries module</mt:ignore>
</article><!-- /article -->
<MTInclude module="global_comments" blog_id="0">
</section><!-- /main -->
<mt:if var="hasCustomAdCampaign" eq="true">
<mt:include module="sidebar" hideBTFad="$hideBTFad" blog_id="0">
<mt:else>
<mt:include module="sidebar" blog_id="0">
</mt:if>
</div><!-- /content-->
</div> <!-- /container -->
<MTInclude module="footer">
<MTInclude module="googleOutbrainTrackingJS" blog_id="0">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment