Permalink
Browse files

added another layout for the front page of the blog. everything seems…

… to be working just fine atm. I'm done with including HTML5 Boilerplate as well as 320 and up. Maybe I should do the documentation next?
  • Loading branch information...
1 parent 577026f commit a21f98cbe8503c614d37787d17e153bee4ec624c Florian Holzner committed May 4, 2011
View
21 _layouts/default.html
@@ -75,26 +75,7 @@
<div class="content clearfix">
<article role="main">
-<header>
-<h1>Posts<h1>
-</header>
-{% for ps in site.posts %}
-<section>
-<header>
-<h1><a href="{{ ps.url }}">{{ ps.title }}</a></h1>
-<time datetime="{{ ps.date }}" pubdate>{{ ps.date }}</time>
-</header>
-{% if ps.categories != "" %}
-<p>"{{ ps.categories}}"</p>
-<p>Published under</p>
-<ul class="category-list">
-{% for cat in ps.categories %}
-<li><a href="#">{{ cat }}</a></li>
-{% endfor %}
-</ul>
-{% endif %}
-</section>
-{% endfor %}
+{{ page.content }}
</article>
<aside role="complementary">
View
124 _layouts/frontpage.html
@@ -0,0 +1,124 @@
+<!DOCTYPE html>
+
+<!--
+320 and Up boilerplate extension
+Author: Andy Clarke
+Version: 0.9b
+URL: http://stuffandnonsense.co.uk/projects/320andup
+-->
+
+<!--[if IEMobile 7 ]><html class="no-js iem7" manifest="default.appcache?v=1"><![endif]-->
+<!--[if lt IE 7 ]><html class="no-js ie6" lang="en"><![endif]-->
+<!--[if IE 7 ]><html class="no-js ie7" lang="en"><![endif]-->
+<!--[if IE 8 ]><html class="no-js ie8" lang="en"><![endif]-->
+<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" manifest="default.appcache?v=1" lang="en"><!--<![endif]-->
+
+<head>
+<meta charset="utf-8">
+
+<title>{{ page.title }}</title>
+<meta name="description" content="">
+<meta name="author" content="">
+
+<!-- http://t.co/dKP3o1e -->
+<meta name="HandheldFriendly" content="True">
+<meta name="MobileOptimized" content="320">
+<meta name="viewport" content="width=device-width, target-densitydpi=160dpi, initial-scale=1">
+
+<!-- For less capable mobile browsers
+<link rel="stylesheet" media="handheld" href="{{ site.url }}css/handheld.css?v=1"> -->
+
+<!-- For all browsers -->
+<link rel="stylesheet" media="screen" href="{{ site.url }}/css/style.css?v=1">
+<link rel="stylesheet" media="print" href="{{ site.url }}/css/print.css?v=1">
+<!-- For progressively larger displays -->
+<link rel="stylesheet" media="only screen and (min-width: 480px)" href="{{ site.url }}/css/480.css?v=1">
+<link rel="stylesheet" media="only screen and (min-width: 768px)" href="{{ site.url }}/css/768.css?v=1">
+<link rel="stylesheet" media="only screen and (min-width: 992px)" href="{{ site.url }}/css/992.css?v=1">
+<link rel="stylesheet" media="only screen and (min-width: 1382px)" href="{{ site.url }}/css/1382.css?v=1">
+<!-- For Retina displays -->
+<link rel="stylesheet" media="only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2)" href="{{ site.url }}/css/2x.css?v=1">
+
+<!-- JavaScript at bottom except for Modernizr -->
+<script src="js/libs/modernizr-1.7.min.js"></script>
+
+<!-- For iPhone 4 -->
+<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/img/h/apple-touch-icon.png">
+<!-- For iPad 1-->
+<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.url }}/img/m/apple-touch-icon.png">
+<!-- For iPhone 3G, iPod Touch and Android -->
+<link rel="apple-touch-icon-precomposed" href="{{ site.url }}/img/l/apple-touch-icon-precomposed.png">
+<!-- For Nokia -->
+<link rel="shortcut icon" href="{{ site.url }}/img/l/apple-touch-icon.png">
+<!-- For everything else -->
+<link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
+
+<!--iOS. Delete if not required -->
+<meta name="apple-mobile-web-app-capable" content="yes">
+<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
+<link rel="apple-touch-startup-image" href="{{ site.url }}/img/splash.png">
+
+<!--Microsoft. Delete if not required -->
+<meta http-equiv="cleartype" content="on">
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+
+<!-- http://t.co/y1jPVnT -->
+<link rel="canonical" href="/">
+</head>
+
+<body class="clearfix">
+
+<header role="banner" class="clearfix">
+<h1>{{ page.title }}</h1>
+</header>
+
+<div class="content clearfix">
+
+<article role="main">
+<header>
+<h1>Posts<h1>
+</header>
+{% for ps in site.posts %}
+<section>
+<header class="post-header">
+<hgroup>
+<h1><a href="{{ ps.url }}">{{ ps.title }}</a></h1>
+<time datetime="{{ ps.date }}" pubdate>{{ ps.date }}</time>
+</hgroup>
+</header>
+</section>
+{% endfor %}
+</article>
+
+<aside role="complementary">
+</aside>
+
+</div>
+
+<footer role="contentinfo" class="clearfix">
+ <p>{{ site.license }} <a href="{{ site.owner-page }}">{{ site.owner-name}}</a></p>
+</footer>
+
+<!-- mathiasbynens.be/notes/async-analytics-snippet Change UA-XXXXX-X to be your site's ID -->
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
+<script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
+<!-- Scripts -->
+<script src="{{ site.url }}/js/plugins.js"></script>
+<script src="{{ site.url }}/js/script.js"></script>
+
+<!--[if (lt IE 9) & (!IEMobile)]>
+<script src="{{ site.url }}/js/libs/DOMAssistantCompressed-2.8.js"></script>
+<script src="{{ site.url }}/js/libs/selectivizr-1.0.1.js"></script>
+<script src="{{ site.url }}/js/libs/respond.min.js"></script>
+<![endif]-->
+
+<!-- http://t.co/HZe9oJ4 -->
+<script>
+var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; // Change UA-XXXXX-X to be your site's ID
+(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
+g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
+s.parentNode.insertBefore(g,s)}(document,'script'));
+</script>
+<noscript>Your browser does not support JavaScript!</noscript>
+</body>
+</html>
View
2 _layouts/post.html
@@ -70,8 +70,6 @@
<header role="banner" class="clearfix">
<h1>{{ page.title }}</h1>
-<p>Site URL: {{ site.url }}</p>
-<p>Page URL: {{ page.url }}</p>
</header>
<div class="content clearfix">
View
5 _posts/1970-1-1-hello-world.md
@@ -1,6 +1,7 @@
---
layout: post
-title: Hello World
+title: Hello World!
+excerpt: Your typicall Hello World post
---
-## Hello World
+# Hello World!
Well, congratulations, if you can see this, jekyll is up and running, and if the content is styled correctly, internal linking is working. Now go ahead, delete this, import your own blog posts and write something new. Have an awesome time! :-)
View
5 _posts/1971-1-1-hello-world.md
@@ -1,6 +1,7 @@
---
layout: post
-title: Hello World
+title: Hello World!
+excerpt: Your typicall Hello World post
---
-## Hello World
+# Hello World!
Well, congratulations, if you can see this, jekyll is up and running, and if the content is styled correctly, internal linking is working. Now go ahead, delete this, import your own blog posts and write something new. Have an awesome time! :-)
View
5 _posts/1972-1-1-hello-world.md
@@ -1,6 +1,7 @@
---
layout: post
-title: Hello World
+title: Hello World!
+excerpt: Your typicall Hello World post
---
-## Hello World
+# Hello World!
Well, congratulations, if you can see this, jekyll is up and running, and if the content is styled correctly, internal linking is working. Now go ahead, delete this, import your own blog posts and write something new. Have an awesome time! :-)
View
5 _posts/1973-1-1-hello-world.md
@@ -1,6 +1,7 @@
---
layout: post
-title: Hello World
+title: Hello World!
+excerpt: Your typicall Hello World post
---
-## Hello World
+# Hello World!
Well, congratulations, if you can see this, jekyll is up and running, and if the content is styled correctly, internal linking is working. Now go ahead, delete this, import your own blog posts and write something new. Have an awesome time! :-)
View
6 index.md
@@ -1,4 +1,6 @@
---
-layout: default
+layout: frontpage
title: A super epic, HTML5 Boilerplate & "320 and up" enhanced blog
----
+---
+# Welcome to the blog of Florian Holzner
+Behold, epic tales of awesomeness await thee who enters my realm!

0 comments on commit a21f98c

Please sign in to comment.