mirror of
https://gitlab.com/openlp/website.git
synced 2024-08-24 23:53:36 +00:00
103 lines
4.7 KiB
Cheetah
103 lines
4.7 KiB
Cheetah
|
## -*- 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:
|
||
|
<div class="scrollToTop"><i class="icon-up-open-big"></i></div>
|
||
|
<header class="header fixed clearfix navbar navbar-fixed-top">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-md-4">
|
||
|
<div class="header-left clearfix">
|
||
|
<div class="logo smooth-scroll">
|
||
|
<a href="#banner"><img id="logo" src="/assets/images/logo.png" alt="OpenLP"></a>
|
||
|
</div>
|
||
|
<div class="site-name-and-slogan smooth-scroll">
|
||
|
<div class="site-name"><a href="#banner">OpenLP</a></div>
|
||
|
<div class="site-slogan">Empower Your Church</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-md-8">
|
||
|
<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="/">Home</a></li>
|
||
|
<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>
|
||
|
<li class="active"><a href="/blog/">Blog</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</header>
|
||
|
% if permalink is not UNDEFINED and permalink == u'/blog/index.html':
|
||
|
<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">
|
||
|
<h1>The Blog</h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!--
|
||
|
${permalink}
|
||
|
-->
|
||
|
% endif
|
||
|
<div class="container" id="content">
|
||
|
<div class="space"></div>
|
||
|
<div class="body-content">
|
||
|
<div class="row">
|
||
|
${template_hooks['page_header']()}
|
||
|
<%block name="content"></%block>
|
||
|
</div>
|
||
|
<footer>
|
||
|
${content_footer}
|
||
|
${template_hooks['page_footer']()}
|
||
|
</footer>
|
||
|
</div>
|
||
|
</div>
|
||
|
% 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>
|