101 lines
3.7 KiB
Cheetah
101 lines
3.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>
|
|
<a href="#content" class="sr-only sr-only-focusable">${messages("Skip to main content")}</a>
|
|
|
|
|
|
<header id="banner"><br/><h1>The LIS Scholarship Archive</h1><h2>A free, open scholarly platform for library and information science</h2>
|
|
|
|
<!-- Menubar -->
|
|
<nav class="navbar navbar-inverse">
|
|
<div class="container"><!-- This keeps the margins nice -->
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false">
|
|
<span class="sr-only">${messages("Toggle navigation")}</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="${abs_link(_link("root", None, lang))}">
|
|
%if logo_url:
|
|
<img src="${logo_url}" alt="${blog_title|h}" id="logo">
|
|
%endif
|
|
|
|
% if show_blog_title:
|
|
<span id="blog-title">${blog_title|h}</span>
|
|
% endif
|
|
</a>
|
|
</div><!-- /.navbar-header -->
|
|
<div class="collapse navbar-collapse" id="bs-navbar" aria-expanded="false">
|
|
<ul class="nav navbar-nav">
|
|
${base.html_navigation_links()}
|
|
<li><a href="https://osf.io/preprints/lissa/discover">Discover Works <span class="glyphicon glyphicon-new-window"></span></a></li>
|
|
<li><a href="https://osf.io/preprints/lissa/submit">Submit <span class="glyphicon glyphicon-new-window"></span></a></li>
|
|
${template_hooks['menu']()}
|
|
</ul>
|
|
%if search_form:
|
|
${search_form}
|
|
%endif
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<%block name="belowtitle">
|
|
%if len(translations) > 1:
|
|
<li>${base.html_translations()}</li>
|
|
%endif
|
|
</%block>
|
|
% if show_sourcelink:
|
|
<%block name="sourcelink"></%block>
|
|
%endif
|
|
${template_hooks['menu_alt']()}
|
|
</ul>
|
|
</div><!-- /.navbar-collapse -->
|
|
</div><!-- /.container -->
|
|
</nav>
|
|
<!-- End of Menubar -->
|
|
|
|
</header><!-- header role="banner" -->
|
|
|
|
<div class="container" id="content" role="main">
|
|
<div class="body-content">
|
|
<!--Body content-->
|
|
<div class="row">
|
|
${template_hooks['page_header']()}
|
|
<%block name="content"></%block>
|
|
</div>
|
|
<!--End of body content-->
|
|
|
|
<footer id="footer">
|
|
${content_footer}
|
|
${template_hooks['page_footer']()}
|
|
</footer><br/>
|
|
</div>
|
|
</div>
|
|
|
|
${base.late_load_js()}
|
|
<script>$('a.image-reference:not(.islink) img:not(.islink)').parent().colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
|
<!-- fancy dates -->
|
|
<script>
|
|
moment.locale("${momentjs_locales[lang]}");
|
|
fancydates(${date_fanciness}, ${js_date_format});
|
|
</script>
|
|
<!-- end fancy dates -->
|
|
<%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
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
${body_end}
|
|
</body>
|
|
</html>
|