initial commit to seperate repo
This commit is contained in:
commit
1a020ca68b
1302 changed files with 201261 additions and 0 deletions
47
themes/monospace/templates/base.tmpl
Normal file
47
themes/monospace/templates/base.tmpl
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="base" file="base_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="home blog">
|
||||
<div id="wrap" style="width:850px">
|
||||
<div id="container" style="width:560px">
|
||||
${template_hooks['page_header']()}
|
||||
<%block name="content"></%block>
|
||||
</div>
|
||||
<div id="sidebar">
|
||||
<!--Sidebar content-->
|
||||
<h1 id="blog-title">
|
||||
<a href="${abs_link('/')}" title="${blog_title}">${blog_title}</a>
|
||||
</h1>
|
||||
<%block name="belowtitle">
|
||||
%if len(translations) > 1:
|
||||
<small>
|
||||
${messages("Also available in:")}
|
||||
${base.html_translations()}
|
||||
</small>
|
||||
%endif
|
||||
</%block>
|
||||
<ul class="unstyled">
|
||||
<li>${license}</li>
|
||||
${base.html_navigation_links()}
|
||||
<li>${search_form}</li>
|
||||
${template_hooks['menu']()}
|
||||
${template_hooks['menu_alt']()}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footer">
|
||||
${content_footer}
|
||||
${template_hooks['page_footer']()}
|
||||
</div>
|
||||
</div>
|
||||
${base.late_load_js()}
|
||||
<script type="text/javascript">jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<%block name="extra_js"></%block>
|
||||
${body_end}
|
||||
${template_hooks['body_end']()}
|
||||
</body>
|
||||
31
themes/monospace/templates/index.tmpl
Normal file
31
themes/monospace/templates/index.tmpl
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="index_helper.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%block name="content">
|
||||
% for post in posts:
|
||||
<div class="postbox">
|
||||
<h1><a href="${post.permalink()}">${post.title()}</a></h1>
|
||||
<div class="meta" style="background-color: rgb(234, 234, 234); ">
|
||||
<span class="authordate">
|
||||
${messages("Posted:")} <time class="published" datetime="${post.date.isoformat()}">${post.formatted_date(date_format)}</time>
|
||||
</span>
|
||||
<br>
|
||||
<span class="tags">Tags:
|
||||
%if post.tags:
|
||||
%for tag in post.tags:
|
||||
<a class="tag" href="${_link('tag', tag)}"><span>${tag}</span></a>
|
||||
%endfor
|
||||
%endif
|
||||
</span>
|
||||
</div>
|
||||
${post.text(teaser_only=index_teasers)}
|
||||
% if not post.meta('nocomments'):
|
||||
${comments.comment_link(post.permalink(), post.base_path)}
|
||||
% endif
|
||||
</div>
|
||||
% endfor
|
||||
${helper.html_pager()}
|
||||
${comments.comment_link_script()}
|
||||
${helper.mathjax_script(posts)}
|
||||
</%block>
|
||||
42
themes/monospace/templates/post.tmpl
Normal file
42
themes/monospace/templates/post.tmpl
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<%namespace name="helper" file="post_helper.tmpl"/>
|
||||
<%namespace name="pheader" file="post_header.tmpl"/>
|
||||
<%namespace name="comments" file="comments_helper.tmpl"/>
|
||||
<%inherit file="base.tmpl"/>
|
||||
<%block name="extra_head">
|
||||
${helper.twitter_card_information(post)}
|
||||
% if post.meta('keywords'):
|
||||
<meta name="keywords" content="${post.meta('keywords')|h}"/>
|
||||
% endif
|
||||
</%block>
|
||||
<%block name="content">
|
||||
<div class="post">
|
||||
${pheader.html_title()}
|
||||
<div class="meta" style="background-color: rgb(234, 234, 234); ">
|
||||
<span class="authordate">
|
||||
${messages("Posted:")} <time class="published" datetime="${post.date.isoformat()}">${post.formatted_date(date_format)}</time>
|
||||
% if not post.meta('password'):
|
||||
[<a href="${post.source_link()}" id="sourcelink">${messages("Source")}</a>]
|
||||
% endif
|
||||
</span>
|
||||
<br>
|
||||
%if post.tags:
|
||||
<span class="tags">${messages("Tags")}:
|
||||
%for tag in post.tags:
|
||||
<a class="tag" href="${_link('tag', tag)}"><span>${tag}</span></a>
|
||||
%endfor
|
||||
</span>
|
||||
<br>
|
||||
%endif
|
||||
<span class="authordate">
|
||||
${pheader.html_translations(post)}
|
||||
</span>
|
||||
</div>
|
||||
${post.text()}
|
||||
${helper.html_pager(post)}
|
||||
% if not post.meta('nocomments'):
|
||||
${comments.comment_form(post.permalink(absolute=True), post.title(), post.base_path)}
|
||||
% endif
|
||||
${helper.mathjax_script(post)}
|
||||
</div>
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue