Skip to content

Commit

Permalink
Remove annotations from all themes
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 20, 2018
1 parent 8a44a19 commit 775b652
Show file tree
Hide file tree
Showing 20 changed files with 4 additions and 63 deletions.
1 change: 0 additions & 1 deletion v7/bnw/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="zzz" file="zzz_helper.tmpl" import="*" />
<%namespace name="header" file="zzz_header.tmpl" import="*" />
<%namespace name="footer" file="zzz_footer.tmpl" import="*" />
<%namespace name="annotations" file="annotation_helper.tmpl" import="*" />
${set_locale(lang)}
${zzz.html_headstart()}
<%block name="extra_head">
Expand Down
6 changes: 0 additions & 6 deletions v7/bootstrap-jinja/templates/base.tmpl
@@ -1,6 +1,5 @@
{# -*- coding: utf-8 -*- #}
{% import 'base_helper.tmpl' as base with context %}
{% import 'annotation_helper.tmpl' as notes with context %}
{{ set_locale(lang) }}
{{ base.html_headstart() }}
{% block extra_head %}
Expand Down Expand Up @@ -82,11 +81,6 @@
</script>
<!-- end fancy dates -->
{% block extra_js %}{% endblock %}
{% 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>
Expand Down
6 changes: 0 additions & 6 deletions v7/bootstrap-jinja/templates/base_helper.tmpl
@@ -1,6 +1,5 @@
{# -*- coding: utf-8 -*- #}

{% import 'annotation_helper.tmpl' as notes with context %}
{% macro html_headstart() %}
<!DOCTYPE html>
<html
Expand Down Expand Up @@ -118,11 +117,6 @@ lang="{{ lang }}">
<link href="/assets/css/ipython.min.css" rel="stylesheet" type="text/css">
<link href="/assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
{% endif %}
{% if annotations and post and not post.meta('noannotations') %}
{{ notes.css() }}
{% elif not annotations and post and post.meta('annotations') %}
{{ notes.css() }}
{% endif %}
{% endmacro %}


Expand Down
6 changes: 0 additions & 6 deletions v7/bootstrap/templates/base.tmpl
@@ -1,6 +1,5 @@
## -*- 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">
Expand Down Expand Up @@ -82,11 +81,6 @@ ${base.late_load_js()}
</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
${body_end}
${template_hooks['body_end']()}
</body>
Expand Down
6 changes: 0 additions & 6 deletions v7/bootstrap/templates/base_helper.tmpl
@@ -1,6 +1,5 @@
## -*- coding: utf-8 -*-

<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
<%def name="html_headstart()">
<!DOCTYPE html>
<html
Expand Down Expand Up @@ -118,11 +117,6 @@ lang="${lang}">
<link href="/assets/css/ipython.min.css" rel="stylesheet" type="text/css">
<link href="/assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
% endif
% if annotations and post and not post.meta('noannotations'):
${notes.css()}
% elif not annotations and post and post.meta('annotations'):
${notes.css()}
% endif
</%def>


Expand Down
8 changes: 1 addition & 7 deletions v7/cadair/templates/base.tmpl
@@ -1,7 +1,6 @@
## -*- coding: utf-8 -*-
<%namespace name="base" file="base_helper.tmpl" import="*" />
<%namespace name="bootstrap" file="base_helper.tmpl" import="*" />
<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
${set_locale(lang)}

${base.html_headstart()}
Expand Down Expand Up @@ -92,7 +91,7 @@ moment.locale("${momentjs_locales[lang]}");
fancydates(${date_fanciness}, ${js_date_format});
</script>
<!-- end fancy dates -->
<!-- Abstract hide/show
<!-- Abstract hide/show
<script src"/assets/js/div_toggle.js"></script>
-->
<script type='text/javascript'>
Expand All @@ -110,11 +109,6 @@ function toggle(showHideDiv, switchTextDiv) {
}
</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>
Expand Down
1 change: 0 additions & 1 deletion v7/canterville/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down
1 change: 0 additions & 1 deletion v7/detox/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down
3 changes: 1 addition & 2 deletions v7/foundation6/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down Expand Up @@ -31,4 +30,4 @@ ${base.late_load_js()}
${body_end}
${template_hooks['body_end']()}
</body>
</html>
</html>
1 change: 0 additions & 1 deletion v7/hack/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down
1 change: 0 additions & 1 deletion v7/hemingway/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}

<link href="/assets/css/rst.css" rel="stylesheet" type="text/css">
Expand Down
1 change: 0 additions & 1 deletion v7/hpstr/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down
1 change: 0 additions & 1 deletion v7/hyde/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
{% import 'base_helper.tmpl' as base with context %}
{% import 'base_header.tmpl' as header with context %}
{% import 'base_footer.tmpl' as footer with context %}
{% import 'annotation_helper.tmpl' as annotations with context %}
{{ set_locale(lang) }}
{{ base.html_headstart() }}
{% block extra_head %}
Expand Down
3 changes: 1 addition & 2 deletions v7/jidn/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand All @@ -22,7 +21,7 @@ ${template_hooks['extra_head']()}

<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<%doc>
<%doc>
<div class="sidebar-item">
<p>A reserved <a href="https://getnikola.com" target="_blank">Nikola</a> theme that places the utmost gravity on content with a hidden drawer. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> for Jekyll,
ported to Nikola by <a href="https://twitter.com/ralsina" target="_blank">@ralsina</a>.</p>
Expand Down
1 change: 0 additions & 1 deletion v7/lanyon/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="base" file="base_helper.tmpl" import="*"/>
<%namespace name="header" file="base_header.tmpl" import="*"/>
<%namespace name="footer" file="base_footer.tmpl" import="*"/>
<%namespace name="annotations" file="annotation_helper.tmpl"/>
${set_locale(lang)}
${base.html_headstart()}
<%block name="extra_head">
Expand Down
1 change: 0 additions & 1 deletion v7/lotabout/templates/base.tmpl
Expand Up @@ -2,7 +2,6 @@
<%namespace name="zzz" file="zzz_helper.tmpl" import="*" />
<%namespace name="header" file="zzz_header.tmpl" import="*" />
<%namespace name="footer" file="zzz_footer.tmpl" import="*" />
<%namespace name="annotations" file="annotation_helper.tmpl" import="*" />
${set_locale(lang)}
${zzz.html_headstart()}
<%block name="extra_head">
Expand Down
6 changes: 0 additions & 6 deletions v7/maupassant/templates/base.tmpl
@@ -1,6 +1,5 @@
## -*- 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">
Expand Down Expand Up @@ -84,11 +83,6 @@ ${template_hooks['extra_head']()}
</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
${body_end}
${template_hooks['body_end']()}
</body>
Expand Down
6 changes: 0 additions & 6 deletions v7/maupassant/templates/base_helper.tmpl
@@ -1,6 +1,5 @@
## -*- coding: utf-8 -*-

<%namespace name="notes" file="annotation_helper.tmpl" import="*" />
<%def name="html_headstart()">
<!DOCTYPE html>
<html
Expand Down Expand Up @@ -108,11 +107,6 @@ lang="${lang}">
<link href="/assets/css/ipython.min.css" rel="stylesheet" type="text/css">
<link href="/assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
% endif
% if annotations and post and not post.meta('noannotations'):
${notes.css()}
% elif not annotations and post and post.meta('annotations'):
${notes.css()}
% endif
</%def>

<%def name="html_navigation_links()">
Expand Down
5 changes: 0 additions & 5 deletions v7/oldfashioned/templates/base.tmpl
Expand Up @@ -57,11 +57,6 @@ ${template_hooks['extra_head']()}
${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>
Expand Down
3 changes: 1 addition & 2 deletions v7/srcco.de/templates/base.tmpl
@@ -1,7 +1,6 @@
{# -*- coding: utf-8 -*- #}
{% import 'base_helper.tmpl' as base with context %}
{% import 'annotation_helper.tmpl' as annotations with context %}
{{ set_locale(lang) }}
{ set_locale(lang) }}
<!DOCTYPE html>
<html
lang="{{ lang }}">
Expand Down

0 comments on commit 775b652

Please sign in to comment.