First commit of base theme.
This commit is contained in:
commit
72ac450454
20 changed files with 1089 additions and 0 deletions
42
_layouts/default.html
Normal file
42
_layouts/default.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
|
||||
|
||||
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title>
|
||||
|
||||
<meta name="author" content="{{ site.name }}" />
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="/" class="logo"><img src="/404.ups" /></a>
|
||||
|
||||
<nav>
|
||||
<a href="/">Blog</a>
|
||||
<a href="/about">About</a>
|
||||
</nav>
|
||||
|
||||
<div style="clear:both;"></div>
|
||||
</header>
|
||||
|
||||
<div id="main" role="main">{{ content }}</div>
|
||||
|
||||
<footer>
|
||||
<p></p>
|
||||
</footer>
|
||||
|
||||
{% include analytics.html %}
|
||||
</body>
|
||||
</html>
|
11
_layouts/page.html
Normal file
11
_layouts/page.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<article class="page">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
<div class="entry">
|
||||
{{ content }}
|
||||
</div>
|
||||
</article>
|
15
_layouts/post.html
Normal file
15
_layouts/post.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<article class="post">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
<div class="entry">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<section id="comments">
|
||||
{% include disqus.html disqus_identifier=page.disqus_identifier %}
|
||||
</section>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue