Skip to content

Instantly share code, notes, and snippets.

@apokusin
Created December 12, 2013 02:43
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 apokusin/7922455 to your computer and use it in GitHub Desktop.
Save apokusin/7922455 to your computer and use it in GitHub Desktop.
A sample default layout file for the Bolt Jekyll Blog
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width">
{% include social_meta.inc %}
{% include styles.inc %}
</head>
<body>
{% include facebook_js.inc %}
{% include twitter_js.inc %}
<header>
{% include content_header.inc %}
</header>
<div class="area_wrap page_content">
{% for post in site.posts %}
<a href="{{ post.url }}"><h1>{{ post.title }}</h1></a>
<p class="meta">{{ post.date | date: '%B %d, %Y' }}</p>
<div class="post">
{{ post.content }}
</div>
<div class="area_wrap post_data">
{% include author.inc %}
<div class="social_links">
<h4>Share this post:</h4>
{% include twitter_button.inc %}
{% include facebook_button.inc %}
</div>
</div>
{% endfor %}
</div>
{% include footer.inc %}
{% include analytics.inc %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment