Layout using example

This commit is contained in:
pomaxa 2013-08-29 02:07:55 +03:00
parent 08fe6a2223
commit 7b3acc2dad
2 changed files with 50 additions and 0 deletions

View file

@ -1,5 +1,6 @@
/*
Title: Something
Layout: special.html
*/
## This is a Sub Page

View file

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8" />
<title>{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}</title>
{% if meta.description is defined %}
<meta name="description" content="{{ meta.description }}">
{% endif %}
{% if meta.keywords is defined %}
<meta name="keywords" content="{{ meta.keywords }}">
{% endif %}
{% if meta.robots is defined %}
<meta name="robots" content="{{ meta.robots }}">
{% endif %}
{% if meta.url is defined %}
<meta name="url" content="{{ meta.url }}">
{% endif %}
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" type="text/css" />
<link rel="stylesheet" href="{{ theme_url }}/style.css" type="text/css" />
<script src="{{ theme_url }}/scripts/modernizr-2.6.1.min.js"></script>
</head>
<body>
<header id="header">
<div class="inner clearfix">
<h1><a href="{{ base_url }}">{{ site_title }}</a></h1>
</div>
</header>
<section id="content">
<div class="inner">
{{ content }}
</div>
</section>
<footer id="footer">
<div class="inner">
This is second template;
</div>
</footer>
</body>
</html>