Allows plugins to extend the default templatepico-3.0-alpha
parent
86614a3ab4
commit
a3fa373119
@ -1,51 +1,67 @@ |
|||||||
<!DOCTYPE html> |
<!DOCTYPE html> |
||||||
<html lang="en" class="no-js"> |
<html class="no-js"> |
||||||
<head> |
<head> |
||||||
<meta charset="utf-8" /> |
<meta charset="utf-8" /> |
||||||
|
|
||||||
<title>{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}</title> |
{% block documentHeader %} |
||||||
{% if meta.description %} |
<title>{% block title %}{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}{% endblock %}</title> |
||||||
<meta name="description" content="{{ meta.description|striptags }}"> |
{% if meta.description %} |
||||||
{% endif %}{% if meta.robots %} |
<meta name="description" content="{{ meta.description|striptags }}"> |
||||||
<meta name="robots" content="{{ meta.robots }}"> |
{% endif %}{% if meta.robots %} |
||||||
{% endif %} |
<meta name="robots" content="{{ meta.robots }}"> |
||||||
|
{% endif %} |
||||||
|
{% endblock %} |
||||||
|
|
||||||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" type="text/css" /> |
{% block stylesheets %} |
||||||
<link rel="stylesheet" href="{{ theme_url }}/style.css" type="text/css" /> |
<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" /> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
<script src="{{ theme_url }}/scripts/modernizr-2.6.1.min.js"></script> |
{% block javascript %} |
||||||
|
<script src="{{ theme_url }}/scripts/modernizr-2.6.1.min.js"></script> |
||||||
|
{% endblock %} |
||||||
</head> |
</head> |
||||||
<body> |
<body> |
||||||
|
|
||||||
<header id="header"> |
{% block pageHeader %} |
||||||
<div class="inner clearfix"> |
<header id="header"> |
||||||
<h1><a href="{{ "index"|link }}" id="logo">{{ site_title }}</a></h1> |
<div class="inner clearfix"> |
||||||
<nav> |
<h1><a href="{{ "index"|link }}" id="logo">{{ site_title }}</a></h1> |
||||||
<a href="#" class="menu-icon"></a> |
{% block header %} |
||||||
<ul> |
<nav> |
||||||
{% for page in pages if page.title %} |
<a href="#" class="menu-icon"></a> |
||||||
<li{% if page.id == current_page.id %} class="active"{% endif %}> |
<ul> |
||||||
<a href="{{ page.url }}">{{ page.title }}</a> |
{% for page in pages if page.title %} |
||||||
</li> |
<li{% if page.id == current_page.id %} class="active"{% endif %}> |
||||||
{% endfor %} |
<a href="{{ page.url }}">{{ page.title }}</a> |
||||||
</ul> |
</li> |
||||||
</nav> |
{% endfor %} |
||||||
</div> |
</ul> |
||||||
</header> |
</nav> |
||||||
|
{% endblock %} |
||||||
|
</div> |
||||||
|
</header> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
<section id="content"> |
{% block pageContent %} |
||||||
<div class="inner"> |
<section id="content"> |
||||||
{{ content }} |
<div class="inner"> |
||||||
</div> |
{% block content content %} |
||||||
</section> |
</div> |
||||||
|
</section> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
<footer id="footer"> |
{% block pageFooter %} |
||||||
<div class="inner"> |
<footer id="footer"> |
||||||
<a href="http://picocms.org/">Pico</a> was made by <a href="http://gilbert.pellegrom.me">Gilbert Pellegrom</a> |
<div class="inner"> |
||||||
and is maintained by <a href="https://github.com/picocms/Pico/graphs/contributors">The Pico Community</a>. |
{% block footer %} |
||||||
Released under the <a href="https://github.com/picocms/Pico/blob/master/LICENSE.md">MIT license</a>. |
<a href="http://picocms.org/">Pico</a> was made by <a href="http://gilbert.pellegrom.me">Gilbert Pellegrom</a> |
||||||
</div> |
and is maintained by <a href="https://github.com/picocms/Pico/graphs/contributors">The Pico Community</a>. |
||||||
</footer> |
Released under the <a href="https://github.com/picocms/Pico/blob/master/LICENSE.md">MIT license</a>. |
||||||
|
{% endblock %} |
||||||
|
</div> |
||||||
|
</footer> |
||||||
|
{% endblock %} |
||||||
|
|
||||||
</body> |
</body> |
||||||
</html> |
</html> |
||||||
|
Loading…
Reference in new issue