diff --git a/themes/bootstrap3/templates/base.html b/themes/bootstrap3/templates/base.html new file mode 100644 index 0000000000000000000000000000000000000000..355639a99518ec4c58dc1a7ec614b72989bed9cb --- /dev/null +++ b/themes/bootstrap3/templates/base.html @@ -0,0 +1,244 @@ + +{% if USE_OPEN_GRAPH is not defined %} + {% set USE_OPEN_GRAPH = True %} +{% endif %} + + + {% block title %}{{ SITENAME }}{% endblock %} + + + + + + {% if 'liquid_tags.notebook' in PLUGINS %} + {% include 'includes/liquid_tags_nb_header.html' %} + {% endif %} + + {# Favicons are a touchy subject. For reasoning for the following code, see: http://stackoverflow.com/a/23851464/872397 #} + {% if FAVICON %} + + {% endif %} + {% if FAVICON_IE %} + + {% endif %} + {% if TOUCHICON %} + + {% endif %} + + {% block canonical_rel %}{% endblock %} + + {% block meta %} + + {% endblock %} + + {# Open Graph tags #} + {% if USE_OPEN_GRAPH %} + {% block opengraph %} + + {% if OPEN_GRAPH_FB_APP_ID %} + + {% endif %} + + + + + + {% if OPEN_GRAPH_IMAGE %} + + {% endif %} + {% endblock %} + {% endif %} + + {# Twitter Cards tags #} + {% include 'includes/twitter_cards.html' %} + + {# Flattr ID for the Flattr browser plug-in #} + {% if FLATTR_ID %} + + {% endif %} + + + {% if BOOTSTRAP_THEME %} + + {% else %} + + {% endif %} + + + + {% if 'tipue_search' in PLUGINS %} + + {% endif %} + {% if DOCUTIL_CSS %} + + {% endif %} + {% if TYPOGRIFY %} + + {% endif %} + + {% if CUSTOM_CSS %} + + {% endif %} + {% if SHARIFF %} + + {% endif %} + + {% if FEED_ALL_ATOM %} + + {% endif %} + + {% if FEED_ALL_RSS %} + + {% endif %} + + {%- if tag and TAG_FEED_ATOM %} + {%- if '%s' not in TAG_FEED_ATOM %} + {%- set tag_feed_atom = TAG_FEED_ATOM.format(slug=tag.slug) %} + {%- else %} + {%- set tag_feed_atom = TAG_FEED_ATOM.format(tag.slug) %} + {%- endif %} + + {%- endif %} + {%- if category and CATEGORY_FEED_ATOM %} + {%- if '%s' not in CATEGORY_FEED_ATOM %} + {%- set category_feed_atom = CATEGORY_FEED_ATOM.format(slug=category.slug) %} + {%- else %} + {%- set category_feed_atom = CATEGORY_FEED_ATOM.format(category.slug) %} + {%- endif %} + + {%- endif %} + + + + + + + +{% if BANNER and BANNER_ALL_PAGES %} + {% include 'includes/banner.html' %} +{% elif BANNER and not BANNER_ALL_PAGES %} + {% block banner %}{% endblock %} +{% endif %} + + + +{% if PADDED_SINGLE_COLUMN_STYLE %} + {% set content_class='col-md-8 col-md-offset-2' %} +{% elif not HIDE_SIDEBAR or ABOUT_ME or AVATAR %} + {% set content_class='col-sm-9' + (' col-sm-push-3' if SIDEBAR_ON_LEFT else '') %} + {% set sidebar_class='col-sm-3' + (' col-sm-pull-9' if SIDEBAR_ON_LEFT else '') %} +{% else %} + {% set content_class='col-lg-12' %} +{% endif %} +
+
+
+ {% block breadcrumbs %}{% endblock %} + {% block content %}{% endblock %} +
+ {% if sidebar_class %} + + {% endif %} +
+
+ + +{% include 'includes/footer.html' %} + + + + + + + + + +{% if CUSTOM_JS %} + +{% endif %} + +{% if BANNER %} + +{% endif %} +{% include 'includes/sidebar/github-js.html' %} +{% include 'includes/disqus_script.html' %} +{% include 'includes/ga.html' %} +{% include 'includes/piwik.html' %} + +{% if 'liquid_tags.notebook' in PLUGINS %} + {% include 'includes/liquid_tags_nb_footer.html' %} +{% endif %} + +{% block scripts %}{% endblock %} + +