Layout using example
This commit is contained in:
parent
08fe6a2223
commit
7b3acc2dad
2 changed files with 50 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
Title: Something
|
||||
Layout: special.html
|
||||
*/
|
||||
|
||||
## This is a Sub Page
|
||||
|
|
49
themes/default/special.html
Normal file
49
themes/default/special.html
Normal 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>
|
Loading…
Add table
Reference in a new issue