diff options
author | Barry Clark <barry@barryclark.co> | 2014-02-06 19:18:00 -0500 |
---|---|---|
committer | Barry Clark <barry@barryclark.co> | 2014-02-06 19:18:00 -0500 |
commit | 72ac45045456bdbbbecb38db2e62e113f22f37d4 (patch) | |
tree | 048e5ed7634e6c048c88813291a390078bdc23d9 /_layouts | |
download | kompetenzbolzen.github.io-72ac45045456bdbbbecb38db2e62e113f22f37d4.tar.gz |
First commit of base theme.
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 42 | ||||
-rw-r--r-- | _layouts/page.html | 11 | ||||
-rw-r--r-- | _layouts/post.html | 15 |
3 files changed, 68 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..34dc7b3 --- /dev/null +++ b/_layouts/default.html @@ -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> diff --git a/_layouts/page.html b/_layouts/page.html new file mode 100644 index 0000000..7f97e69 --- /dev/null +++ b/_layouts/page.html @@ -0,0 +1,11 @@ +--- +layout: default +--- + +<article class="page"> + <h1>{{ page.title }}</h1> + + <div class="entry"> + {{ content }} + </div> +</article> diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..4a3c140 --- /dev/null +++ b/_layouts/post.html @@ -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> |