2015-07-11 21:57:10 +00:00
|
|
|
## -*- coding: utf-8 -*-
|
|
|
|
<%namespace name="base" file="base_helper.tmpl" import="*" />
|
|
|
|
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
|
|
|
|
${set_locale(lang)}
|
|
|
|
${base.html_headstart()}
|
|
|
|
<%block name="extra_head">
|
|
|
|
### Leave this block alone.
|
|
|
|
</%block>
|
|
|
|
${template_hooks['extra_head']()}
|
|
|
|
</head>
|
|
|
|
<body class="no-trans">
|
|
|
|
% if permalink is not UNDEFINED and permalink == u'/index.html':
|
|
|
|
<%include file="front_page.html"/>
|
|
|
|
% else:
|
2015-10-03 22:55:26 +00:00
|
|
|
<div class="scrollToTop"><a href="#" title="Scroll to top"><i class="fa fa-fw fa-arrow-up fa-lg"></i></a></div>
|
2015-07-11 21:57:10 +00:00
|
|
|
<header class="header fixed clearfix navbar navbar-fixed-top">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2015-07-11 22:32:47 +00:00
|
|
|
<div class="col-md-3">
|
2015-07-11 21:57:10 +00:00
|
|
|
<div class="header-left clearfix">
|
|
|
|
<div class="logo smooth-scroll">
|
2015-08-28 20:09:12 +00:00
|
|
|
<a href="/"><img id="logo" src="/assets/images/logo.png" alt="OpenLP"></a>
|
2015-07-11 21:57:10 +00:00
|
|
|
</div>
|
|
|
|
<div class="site-name-and-slogan smooth-scroll">
|
2015-08-28 20:09:12 +00:00
|
|
|
<div class="site-name"><a href="/">OpenLP</a></div>
|
2015-07-11 21:57:10 +00:00
|
|
|
<div class="site-slogan">Empower Your Church</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-11 22:32:47 +00:00
|
|
|
<div class="col-md-9">
|
2015-07-11 21:57:10 +00:00
|
|
|
<div class="header-right clearfix">
|
|
|
|
<div class="main-navigation animated">
|
|
|
|
<nav class="navbar navbar-default" role="navigation">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse scrollspy smooth-scroll" id="navbar-collapse-1">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<li><a href="/#about">About</a></li>
|
|
|
|
<li><a href="/#features">Features</a></li>
|
|
|
|
<li><a href="/#downloads">Downloads</a></li>
|
|
|
|
<li><a href="/#testimonials">Testimonials</a></li>
|
|
|
|
<li><a href="/#support">Support</a></li>
|
2015-08-28 20:09:12 +00:00
|
|
|
<li><a href="https://forums.openlp.org/">Forums</a></li>
|
2015-10-12 22:05:06 +00:00
|
|
|
% if permalink.startswith(u'/blog'):
|
2015-07-11 21:57:10 +00:00
|
|
|
<li class="active"><a href="/blog/">Blog</a></li>
|
2015-10-12 22:05:06 +00:00
|
|
|
% else:
|
|
|
|
<li><a href="/blog/">Blog</a></li>
|
|
|
|
% endif
|
2015-07-11 21:57:10 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
2015-08-07 19:55:18 +00:00
|
|
|
% if permalink is not UNDEFINED and permalink.startswith(u'/blog/index'):
|
2015-07-11 21:57:10 +00:00
|
|
|
<div class="blog-heading">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
2015-07-11 22:32:47 +00:00
|
|
|
<h1>Reflections and Projections</h1>
|
2015-07-11 21:57:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-15 21:14:54 +00:00
|
|
|
% elif post is not UNDEFINED and post:
|
|
|
|
<div class="post-heading" style="background-image: url(${post.meta('previewimage')})">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
|
|
|
<h1>${post.meta('title')}</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-11 21:57:10 +00:00
|
|
|
% endif
|
|
|
|
<div class="container" id="content">
|
|
|
|
<div class="body-content">
|
|
|
|
<div class="row">
|
|
|
|
${template_hooks['page_header']()}
|
|
|
|
<%block name="content"></%block>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-07-15 21:14:54 +00:00
|
|
|
<footer id="footer">
|
|
|
|
<div class="space"></div>
|
|
|
|
<div class="subfooter">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
2015-08-30 20:18:34 +00:00
|
|
|
<p class="text-center">
|
2016-04-14 21:35:13 +00:00
|
|
|
Copyright © 2004-2016 OpenLP Developers |
|
2015-10-03 22:55:26 +00:00
|
|
|
Theme based on <a href="http://htmlcoder.me/worthy-free-bootstrap-template">Worthy</a> by HTML Coder |
|
|
|
|
<i class="fa fa-fw fa-money"></i> <a href="/donate">Donate to OpenLP</a>
|
2015-08-30 20:18:34 +00:00
|
|
|
</p>
|
2015-07-15 21:14:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2015-07-11 21:57:10 +00:00
|
|
|
% endif
|
|
|
|
|
|
|
|
${base.late_load_js()}
|
|
|
|
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
|
|
|
<%block name="extra_js"></%block>
|
|
|
|
% if annotations and post and not post.meta('noannotations'):
|
|
|
|
${notes.code()}
|
|
|
|
% elif not annotations and post and post.meta('annotations'):
|
|
|
|
${notes.code()}
|
|
|
|
% endif
|
|
|
|
${body_end}
|
|
|
|
${template_hooks['body_end']()}
|
|
|
|
</body>
|
|
|
|
</html>
|