Skip to content

Instantly share code, notes, and snippets.

@srph
Created October 6, 2014 15:36
Show Gist options
  • Select an option

  • Save srph/6cb0a1855a9bfa568b0b to your computer and use it in GitHub Desktop.

Select an option

Save srph/6cb0a1855a9bfa568b0b to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>{{site.website_title}}</title>
<meta name="ROBOTS" content="INDEX,FOLLOW" />
<meta name="description" content="{{ site.meta_description }}" />
<meta name="keywords" content="{{ site.meta_tags }}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" type="text/css" href="{{#asset}}normalize.css{{/asset}}">
<link rel="stylesheet" type="text/css" href="{{#asset}}bootstrap.min.css{{/asset}}">
<link href="{{site.css_url}}" rel="stylesheet" type="text/css" />
<link href="{{site.favicon_url}}" rel="shortcut icon">
<link href="{{site.rss_url}}" rel="alternate" type="application/rss+xml" title="{{site.website_title}} feed">
<script src="{{#asset}}jquery.js{{/asset}}"></script>
<script src="{{site.js_url}}" type="text/javascript"></script>
{{{site.meta_head}}}
</head>
<body data-bodyview="{{ route.body_view }}">
<div class="container-outer">
<div class="row main-grid">
<div class="col-md-2 sidebar-left">
<div class="title">
<span class="theme-lines-1"></span>
<span class="title-text">{{site.website_title}}</span>
</div>
<nav class="main-nav">
<ul data-view="Navigation" data-set="Navigation">
{{#navigation}}
<li>
<a href="{{ link_url }}" rel="history">{{ title_no_html }}</a>
</li>
{{/navigation}}
</ul>
<ul data-view="Tags" data-set="Projects">
{{#projects}}
{{#tags}}
<li> <a href="{{ filter_link }}">{{ tag }}</a> </li>
{{/tags}}
{{/projects}}
</ul>
</nav>
<span class="special-bottom">WORKS</span>
</div>
<div class="col-md-8">
{{#route index "/"}}
{{#projects}}
<div class="row" data-set="Projects" data-view="Projects">
<a href="#" class="col-md-3 item" style="height: 250px;">
<div class="item-thumbnail" style="background-image: url({{thumb_url}});" {{#if thumb_url_2x }} data-hi-res="{{ thumb_url_2x }}" {{/if}}></div>
{{#if show_title}}
<h4 class="item-title"> {{ title_no_html }} </h4>
{{/if}}
</a>
</div>
{{/projects}}
{{^projects}}
<h3> Oops, no project has been posted yet. </h3>
{{/projects}}
{{/route}}
</div>
<div class="col-md-2 sidebar-right">
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment