diff --git a/content/xtemplates/archives.html b/content/xtemplates/archives.html deleted file mode 100644 index 2a8dcfc..0000000 --- a/content/xtemplates/archives.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ _('Archives') }} - {{ SITENAME }}{% endblock %} -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -
-

{{ _('Archives for') }} {{ SITENAME }}

-
- {% for article in dates %} -

- - {{ article.title }}{% if article.subtitle %} - {{ article.subtitle }}{% endif %} -

- {% endfor %} -
-
-{% endblock %} diff --git a/content/xtemplates/article.html b/content/xtemplates/article.html deleted file mode 100644 index ad4e35a..0000000 --- a/content/xtemplates/article.html +++ /dev/null @@ -1,113 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ article.title|striptags }} - {{ SITENAME }}{% endblock %} -{% block html_lang %}{{ article.lang }}{% endblock %} -{% block meta %} - {% if article.author %} - - {% else %} - - {% endif %} - {% if article.tags %} - - {% endif %} - {% if article.summary %} - - {% endif %} -{% endblock %} -{% block opengraph %} - {% if USE_OPEN_GRAPH %} - {% if OPEN_GRAPH_FB_APP_ID %} - - {% endif %} - - - - - - - {% if article.category %} - - {% endif %} - {% for tag in article.tags %} - - {% endfor %} - {% if article.author %} - - {% elif AUTHOR %} - - {% endif %} - {% if article.og_image %} - - {% elif OPEN_GRAPH_IMAGE %} - - {% endif %} - {% endif %} -{% endblock %} - -{% block canonical_rel %} - -{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - {% if DISPLAY_CATEGORY_IN_BREADCRUMBS %} - - {% else %} - - {% endif %} - {% endif %} -{% endblock %} - -{% block content %} -
-
- -
-
-
- {% include "includes/article_info.html" %} -
-
- {{ article.content }} -
- - {% include 'includes/related-posts.html' %} - {% include 'includes/series.html' %} - {% include 'includes/addthis.html' %} - {% include 'includes/shariff.html' %} - {% include 'includes/comments.html' %} - {% include 'includes/show_source.html' %} -
-
- -{% endblock %} - -{% block scripts %} -{% if ADDTHIS_PROFILE %} - {% if ADDTHIS_DATA_TRACK_ADDRESSBAR|default(true) %} - - {% endif %} - -{% endif %} -{% if SHARIFF|default(false) %} - - -{% endif %} -{% endblock %} diff --git a/content/xtemplates/article_list.html b/content/xtemplates/article_list.html deleted file mode 100644 index 885a880..0000000 --- a/content/xtemplates/article_list.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} -{% block content %} - {% if articles %} - {% for article in (articles_page.object_list if articles_page else articles) %} -
-

{{ article.title }}

- {% if DISPLAY_ARTICLE_INFO_ON_INDEX %} -
- {% include "includes/article_info.html" %} -
- {% endif %} -
{{ article.summary }} - {% include 'includes/comment_count.html' %} - {{ _('more') }} ... -
-
-
- {% endfor %} - {% endif %} - - {% include 'includes/pagination.html' %} -{% endblock content %} diff --git a/content/xtemplates/author.html b/content/xtemplates/author.html deleted file mode 100644 index 72cff95..0000000 --- a/content/xtemplates/author.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "article_list.html" %} - -{% block title %}{{ _('Articles by') }} {{ author }} - {{ SITENAME }}{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} diff --git a/content/xtemplates/authors.html b/content/xtemplates/authors.html deleted file mode 100644 index 54589bf..0000000 --- a/content/xtemplates/authors.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "base.html" %} - -{% block title %}{{ _('Authors') }} - {{ SITENAME }}{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -

{{ _('Authors on') }} {{ SITENAME }}

- {% for author, articles in authors|sort %} -
  • {{ author }} ({{ articles|count }})
  • - {% endfor %} -{% endblock %} diff --git a/content/xtemplates/base.html b/content/xtemplates/base.html deleted file mode 100644 index af2f0f9..0000000 --- a/content/xtemplates/base.html +++ /dev/null @@ -1,244 +0,0 @@ - -{% 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 %} - - diff --git a/content/xtemplates/categories.html b/content/xtemplates/categories.html deleted file mode 100644 index 6f3e8f5..0000000 --- a/content/xtemplates/categories.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ _('Categories') }} - {{ SITENAME }}{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -
    -

    {{ _('All Categories for') }} {{ SITENAME }}

    -
    - {% for category, articles in categories %} -
    - -
    -
    - {% for article in articles %} -

    {{ article.title }}

    - {% endfor %} -
    -
    -
    - {% endfor %} -
    - -
    -{% endblock %} diff --git a/content/xtemplates/category.html b/content/xtemplates/category.html deleted file mode 100644 index bf87bf5..0000000 --- a/content/xtemplates/category.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "article_list.html" %} -{% block title %}{{ category }} - {{ SITENAME }}{% endblock %} -{% block meta %} - - -{% endblock %} -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} diff --git a/content/xtemplates/includes/aboutme.html b/content/xtemplates/includes/aboutme.html deleted file mode 100644 index ee88d56..0000000 --- a/content/xtemplates/includes/aboutme.html +++ /dev/null @@ -1,13 +0,0 @@ -
    - {% if AVATAR %} -

    - -

    - {% endif %} - {% if ABOUT_ME %} -

    - {{ _('About') }} {{ AUTHOR }}
    - {{ ABOUT_ME }} -

    - {% endif %} -
    diff --git a/content/xtemplates/includes/addthis.html b/content/xtemplates/includes/addthis.html deleted file mode 100644 index 52bad77..0000000 --- a/content/xtemplates/includes/addthis.html +++ /dev/null @@ -1,16 +0,0 @@ -{% if ADDTHIS_PROFILE %} -
    - -
    - {% if ADDTHIS_FACEBOOK_LIKE|default(true) %} - - {% endif %} - {% if ADDTHIS_TWEET|default(true) %} - - {% endif %} - {% if ADDTHIS_GOOGLE_PLUSONE|default(true) %} - - {% endif %} -
    - -{% endif %} \ No newline at end of file diff --git a/content/xtemplates/includes/article_info.html b/content/xtemplates/includes/article_info.html deleted file mode 100644 index 1cb85d5..0000000 --- a/content/xtemplates/includes/article_info.html +++ /dev/null @@ -1,43 +0,0 @@ - diff --git a/content/xtemplates/includes/banner.html b/content/xtemplates/includes/banner.html deleted file mode 100644 index 637eb38..0000000 --- a/content/xtemplates/includes/banner.html +++ /dev/null @@ -1,16 +0,0 @@ - - - \ No newline at end of file diff --git a/content/xtemplates/includes/cc-license.html b/content/xtemplates/includes/cc-license.html deleted file mode 100644 index 84f204d..0000000 --- a/content/xtemplates/includes/cc-license.html +++ /dev/null @@ -1,65 +0,0 @@ -{# ------------------------------------------------------------------------ #} -{# Creative Commons license mark generator for Jinja2 templates, including #} -{# Pelican-generated static sites (or blogs). #} -{# ------------------------------------------------------------------------ #} -{# To use, put this file in a location where your template can import it. #} -{# Then import into the template, for example like this: #} -{# {% from '/path/to/where/you/placed/the/file' import cc_license_mark %} #} -{# Then call as simply as {{ cc_license_mark("CC-BY") }}. #} -{# #} -{# If full attribution markup is desired in a Pelican template, the #} -{# attr_props dict can be defaulted to the following when calling the macro:#} -{# attr_props={'title':SITENAME,'name':AUTHOR,'url':SITEURL} -{# ------------------------------------------------------------------------ #} -{# Generate a license mark for Creative Commons licensed content. #} -{# Choose the license either by name (CC-BY, CC-BY-SA, CC-BY-NC-SA, or #} -{# CC-BY-NC-ND), or by its features (allow derivatives: Yes, No, ShareAlike;#} -{# allow commercial reuse: Yes, No). Name, if provided, takes precedence, #} -{# and case is ignored. #} -{# #} -{# Optional: #} -{# br_after_icon: if true put a line break after the license icon #} -{# attr_markup: if true create markup for fulll attribution #} -{# attr_props: if attr_markup, a dict with title, name, and url keys #} -{# specifying how under which title, to which creator, and #} -{# to which URL to attribute the work #} -{# The parameters all mirror the Creative Commone license chooser: #} -{# https://creativecommons.org/choose/ #} -{# ------------------------------------------------------------------------ #} -{# Copyright (c) 2014 Hilmar Lapp, hlapp@drycafe.net. #} -{# Licensed under the terms of the MIT License. #} -{# Source at http://github.com/hlapp/cc-tools. Please fork & contribute. #} -{# ------------------------------------------------------------------------ #} -{% macro cc_license_mark(cc_name, - derivatives, commercial, - br_after_icon=false, - attr_markup=false, - attr_props={}) %} - {% if cc_name %} - {% set cc_name = cc_name|lower|replace("cc-","") %} - {% set cc_title_suffix = cc_name|replace("by", "")|replace("-nc","-NonCommercial")|replace("-nd","-NoDerivatives")|replace("-sa","-ShareAlike") %} - {% else %} - {% set cc_name = "by" %} - {% set cc_title_suffix = "" %} - {% if (not commercial) or (commercial|lower == "no") %} - {% set cc_name = cc_name ~ "-nc" %} - {% set cc_title_suffix = "-NonCommercial" %} - {% endif %} - {% if derivatives|lower == "no" %} - {% set cc_name = cc_name ~ "-nd" %} - {% set cc_title_suffix = cc_title_suffix ~ "-NoDerivatives" %} - {% elif derivatives|lower == "sharealike" %} - {% set cc_name = cc_name ~ "-sa" %} - {% set cc_title_suffix = cc_title_suffix ~ "-ShareAlike" %} - {% endif %} - {% endif %} - {% set cc_title, cc_uri, cc_icon = ("Creative Commons AttributionCCSUFFIX 4.0 International License","https://creativecommons.org/licenses/CCNAME/4.0/","//i.creativecommons.org/l/CCNAME/4.0/80x15.png") %} - Creative Commons License - {% if br_after_img %}
    {% endif %} - {% if attr_markup %} - "{{ attr_props['title'] }}" by {{ attr_props['name'] }} is - {% else %} - {{ _('Content') }} - {% endif %} - {{ _('licensed under a') }} {{ cc_title|replace('CCSUFFIX',cc_title_suffix) }}, {{ _('except where indicated otherwise') }}. -{% endmacro %} diff --git a/content/xtemplates/includes/comment_count.html b/content/xtemplates/includes/comment_count.html deleted file mode 100644 index 1e83035..0000000 --- a/content/xtemplates/includes/comment_count.html +++ /dev/null @@ -1 +0,0 @@ -{% if DISQUS_SITENAME and DISQUS_DISPLAY_COUNTS %}

    {{ _('View comments') }}.

    {% endif %} diff --git a/content/xtemplates/includes/comments.html b/content/xtemplates/includes/comments.html deleted file mode 100644 index 4fe6406..0000000 --- a/content/xtemplates/includes/comments.html +++ /dev/null @@ -1,45 +0,0 @@ -{% if DISQUS_SITENAME %} -
    -
    -

    {{ _('Comments') }}

    - -
    - - - comments powered by Disqus - -
    -{% endif %} diff --git a/content/xtemplates/includes/disqus_script.html b/content/xtemplates/includes/disqus_script.html deleted file mode 100644 index 02570b3..0000000 --- a/content/xtemplates/includes/disqus_script.html +++ /dev/null @@ -1,17 +0,0 @@ -{% if DISQUS_SITENAME %} - - - -{% endif %} \ No newline at end of file diff --git a/content/xtemplates/includes/footer.html b/content/xtemplates/includes/footer.html deleted file mode 100644 index ec0f258..0000000 --- a/content/xtemplates/includes/footer.html +++ /dev/null @@ -1,28 +0,0 @@ - diff --git a/content/xtemplates/includes/ga.html b/content/xtemplates/includes/ga.html deleted file mode 100644 index 8663e73..0000000 --- a/content/xtemplates/includes/ga.html +++ /dev/null @@ -1,32 +0,0 @@ -{% if GOOGLE_ANALYTICS %} - - - -{% endif %} -{% if GOOGLE_ANALYTICS_UNIVERSAL %} - - - -{% endif %} \ No newline at end of file diff --git a/content/xtemplates/includes/liquid_tags_nb_footer.html b/content/xtemplates/includes/liquid_tags_nb_footer.html deleted file mode 100644 index f5f8007..0000000 --- a/content/xtemplates/includes/liquid_tags_nb_footer.html +++ /dev/null @@ -1,14 +0,0 @@ - diff --git a/content/xtemplates/includes/liquid_tags_nb_header.html b/content/xtemplates/includes/liquid_tags_nb_header.html deleted file mode 100644 index 8fcbd9a..0000000 --- a/content/xtemplates/includes/liquid_tags_nb_header.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - - - diff --git a/content/xtemplates/includes/minify_tipuesearch.html b/content/xtemplates/includes/minify_tipuesearch.html deleted file mode 100644 index dff9542..0000000 --- a/content/xtemplates/includes/minify_tipuesearch.html +++ /dev/null @@ -1,3 +0,0 @@ -{% assets filters="rjsmin", output="tipuesearch/tipuesearch.packed.min.js", "tipuesearch/tipuesearch_set.js", "tipuesearch/tipuesearch.js" %} - -{% endassets %} diff --git a/content/xtemplates/includes/pagination.html b/content/xtemplates/includes/pagination.html deleted file mode 100644 index cb34fa5..0000000 --- a/content/xtemplates/includes/pagination.html +++ /dev/null @@ -1,37 +0,0 @@ -{% if articles_page and articles_paginator.num_pages > 1 %} - {% if USE_PAGER %} - - {% else %} - - {% endif %} -{% endif %} diff --git a/content/xtemplates/includes/piwik.html b/content/xtemplates/includes/piwik.html deleted file mode 100644 index a386f2d..0000000 --- a/content/xtemplates/includes/piwik.html +++ /dev/null @@ -1,20 +0,0 @@ -{% if PIWIK_SITE_ID and PIWIK_URL %} - {% if PIWIK_SSL_URL is not defined %} - {% set PIWIK_SSL_URL = PIWIK_URL %} - {% endif %} - - - -{% endif %} \ No newline at end of file diff --git a/content/xtemplates/includes/related-posts.html b/content/xtemplates/includes/related-posts.html deleted file mode 100644 index 70a56f3..0000000 --- a/content/xtemplates/includes/related-posts.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if article.related_posts %} - -{% endif %} diff --git a/content/xtemplates/includes/series.html b/content/xtemplates/includes/series.html deleted file mode 100644 index 3998440..0000000 --- a/content/xtemplates/includes/series.html +++ /dev/null @@ -1,22 +0,0 @@ -{% if article.series %} - -{% endif %} diff --git a/content/xtemplates/includes/shariff.html b/content/xtemplates/includes/shariff.html deleted file mode 100644 index d00e5f7..0000000 --- a/content/xtemplates/includes/shariff.html +++ /dev/null @@ -1,25 +0,0 @@ -{% if SHARIFF|default(false) %} -
    - -
    - -{% endif %} \ No newline at end of file diff --git a/content/xtemplates/includes/show_source.html b/content/xtemplates/includes/show_source.html deleted file mode 100644 index f6a4f3c..0000000 --- a/content/xtemplates/includes/show_source.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if SHOW_SOURCE_IN_SECTION %} - {% if article and article.show_source_url %} -
    -

    This Page

    - -
    - {% endif %} -{% endif %} diff --git a/content/xtemplates/includes/sidebar.html b/content/xtemplates/includes/sidebar.html deleted file mode 100644 index f9aaa95..0000000 --- a/content/xtemplates/includes/sidebar.html +++ /dev/null @@ -1,20 +0,0 @@ - -
    - -
    - diff --git a/content/xtemplates/includes/sidebar/archive.html b/content/xtemplates/includes/sidebar/archive.html deleted file mode 100644 index 881897b..0000000 --- a/content/xtemplates/includes/sidebar/archive.html +++ /dev/null @@ -1,23 +0,0 @@ -{% if DISPLAY_ARCHIVE_ON_SIDEBAR and MONTH_ARCHIVE_SAVE_AS %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Archive'), DISABLE_SIDEBAR_TITLE_ICONS) }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/article-li.html b/content/xtemplates/includes/sidebar/article-li.html deleted file mode 100644 index d163212..0000000 --- a/content/xtemplates/includes/sidebar/article-li.html +++ /dev/null @@ -1 +0,0 @@ -{{ article.title }} diff --git a/content/xtemplates/includes/sidebar/authors.html b/content/xtemplates/includes/sidebar/authors.html deleted file mode 100644 index 114c688..0000000 --- a/content/xtemplates/includes/sidebar/authors.html +++ /dev/null @@ -1,22 +0,0 @@ -{% if DISPLAY_AUTHORS_ON_SIDEBAR %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Authors'), DISABLE_SIDEBAR_TITLE_ICONS) }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/categories.html b/content/xtemplates/includes/sidebar/categories.html deleted file mode 100644 index 01fb5b4..0000000 --- a/content/xtemplates/includes/sidebar/categories.html +++ /dev/null @@ -1,21 +0,0 @@ -{% if DISPLAY_CATEGORIES_ON_SIDEBAR %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Categories'), DISABLE_SIDEBAR_TITLE_ICONS) }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/github-js.html b/content/xtemplates/includes/sidebar/github-js.html deleted file mode 100644 index 7fc00a5..0000000 --- a/content/xtemplates/includes/sidebar/github-js.html +++ /dev/null @@ -1,36 +0,0 @@ -{% if GITHUB_USER %} - {% if GITHUB_REPO_COUNT is not defined %} - {% set GITHUB_REPO_COUNT = 5 %} - {% endif %} - {% if GITHUB_SKIP_FORK is not defined %} - {% set GITHUB_SKIP_FORK = "false" %} - {% else %} - {% if GITHUB_SKIP_FORK %} - {% set GITHUB_SKIP_FORK = "true" %} - {% else %} - {% set GITHUB_SKIP_FORK = "false" %} - {% endif %} - {% endif %} - - - - - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/github.html b/content/xtemplates/includes/sidebar/github.html deleted file mode 100644 index a84dbfb..0000000 --- a/content/xtemplates/includes/sidebar/github.html +++ /dev/null @@ -1,15 +0,0 @@ -{% if GITHUB_USER %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title('GitHub Repos', DISABLE_SIDEBAR_TITLE_ICONS, icon='github') }}

    -
    -

    Status updating...

    -
    - {% if GITHUB_SHOW_USER_LINK is defined %} - @{{ GITHUB_USER }} on GitHub - {% endif %} -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/images.html b/content/xtemplates/includes/sidebar/images.html deleted file mode 100644 index 2ca2e8d..0000000 --- a/content/xtemplates/includes/sidebar/images.html +++ /dev/null @@ -1,16 +0,0 @@ -{% if SIDEBAR_IMAGES %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • - {% if SIDEBAR_IMAGES_HEADER %} -

    {{ title(SIDEBAR_IMAGES_HEADER, DISABLE_SIDEBAR_TITLE_ICONS, icon='external-link-square') }}

    - {% endif %} - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/links.html b/content/xtemplates/includes/sidebar/links.html deleted file mode 100644 index 179b1a3..0000000 --- a/content/xtemplates/includes/sidebar/links.html +++ /dev/null @@ -1,16 +0,0 @@ -{% if LINKS %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Links'), DISABLE_SIDEBAR_TITLE_ICONS, icon='external-link-square') }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/macros.jinja b/content/xtemplates/includes/sidebar/macros.jinja deleted file mode 100644 index b830923..0000000 --- a/content/xtemplates/includes/sidebar/macros.jinja +++ /dev/null @@ -1,7 +0,0 @@ -{% macro title(name, no_icon, icon='home') -%} - {%- if no_icon -%} - {{ name }} - {%- else -%} - {{ name }} - {%- endif -%} -{%- endmacro %} diff --git a/content/xtemplates/includes/sidebar/recent_posts.html b/content/xtemplates/includes/sidebar/recent_posts.html deleted file mode 100644 index 0b301df..0000000 --- a/content/xtemplates/includes/sidebar/recent_posts.html +++ /dev/null @@ -1,19 +0,0 @@ -{% if DISPLAY_RECENT_POSTS_ON_SIDEBAR %} - {% from 'includes/sidebar/macros.jinja' import title %} - {% if RECENT_POST_COUNT is not defined %} - {% set RECENT_POST_COUNT = 5 %} - {% endif %} - - -
  • -

    {{ title(_('Recent Posts'), DISABLE_SIDEBAR_TITLE_ICONS) }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/series.html b/content/xtemplates/includes/sidebar/series.html deleted file mode 100644 index 323f8c0..0000000 --- a/content/xtemplates/includes/sidebar/series.html +++ /dev/null @@ -1,24 +0,0 @@ -{% if DISPLAY_SERIES_ON_SIDEBAR and article and article.series %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Series'), DISABLE_SIDEBAR_TITLE_ICONS, icon='tags') }}

    - -
  • - - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/show_source.html b/content/xtemplates/includes/sidebar/show_source.html deleted file mode 100644 index 4316129..0000000 --- a/content/xtemplates/includes/sidebar/show_source.html +++ /dev/null @@ -1,19 +0,0 @@ -{% if SHOW_SOURCE_ON_SIDEBAR %} - {% if (article and article.show_source_url) or (page and page.show_source_url) %} - - -
  • This Page

    - -
  • - - - {% endif %} -{% endif %} diff --git a/content/xtemplates/includes/sidebar/social.html b/content/xtemplates/includes/sidebar/social.html deleted file mode 100644 index a4bdc91..0000000 --- a/content/xtemplates/includes/sidebar/social.html +++ /dev/null @@ -1,24 +0,0 @@ -{% if SOCIAL %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title(_('Social'), DISABLE_SIDEBAR_TITLE_ICONS) }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/tag_cloud.html b/content/xtemplates/includes/sidebar/tag_cloud.html deleted file mode 100644 index 147432a..0000000 --- a/content/xtemplates/includes/sidebar/tag_cloud.html +++ /dev/null @@ -1,27 +0,0 @@ -{% if DISPLAY_TAGS_ON_SIDEBAR is not defined %} - {% set DISPLAY_TAGS_ON_SIDEBAR = True %} -{% endif -%} - -{% if 'tag_cloud' in PLUGINS and DISPLAY_TAGS_ON_SIDEBAR %} - {% from 'includes/sidebar/macros.jinja' import title %} - {% if DISPLAY_TAGS_INLINE %} - {% set tags = tag_cloud | sort(attribute='0') %} - {% else %} - {% set tags = tag_cloud | sort(attribute='1') %} - {% endif %} - - -
  • -

    {{ title(_('Tags'), DISABLE_SIDEBAR_TITLE_ICONS, icon='tags') }}

    - -
  • - -{% endif %} diff --git a/content/xtemplates/includes/sidebar/twitter_timeline.html b/content/xtemplates/includes/sidebar/twitter_timeline.html deleted file mode 100644 index 16551a2..0000000 --- a/content/xtemplates/includes/sidebar/twitter_timeline.html +++ /dev/null @@ -1,12 +0,0 @@ -{% if TWITTER_WIDGET_ID %} - {% from 'includes/sidebar/macros.jinja' import title %} - - -
  • -

    {{ title('Latest Tweets', DISABLE_SIDEBAR_TITLE_ICONS, icon='twitter') }}

    -
    - -
    -
  • - -{% endif %} diff --git a/content/xtemplates/includes/taglist.html b/content/xtemplates/includes/taglist.html deleted file mode 100644 index 2aa0237..0000000 --- a/content/xtemplates/includes/taglist.html +++ /dev/null @@ -1,9 +0,0 @@ -{% if article.tags %} -{{ _('Tags') }} -{% for tag in article.tags %} - {{ tag }} - {% if not loop.last %} - / - {% endif %} -{% endfor %} -{% endif %} diff --git a/content/xtemplates/includes/translations.html b/content/xtemplates/includes/translations.html deleted file mode 100644 index 2d79217..0000000 --- a/content/xtemplates/includes/translations.html +++ /dev/null @@ -1,8 +0,0 @@ -{% macro translations_for(article) %} -{% if article.translations %} -{{ _('Lang') }} -{% for translation in article.translations %} - {{ translation.lang }} -{% endfor %} -{% endif %} -{% endmacro %} diff --git a/content/xtemplates/includes/twitter_cards.html b/content/xtemplates/includes/twitter_cards.html deleted file mode 100644 index 036721f..0000000 --- a/content/xtemplates/includes/twitter_cards.html +++ /dev/null @@ -1,28 +0,0 @@ -{% if TWITTER_CARDS and USE_OPEN_GRAPH %} - {# Do not include duplicates tag with og ones. #} - {# Twitter is able to infer them from og. #} - - - {% if TWITTER_USERNAME %} - - - {% endif %} - - {% if article %} - {% if article.og_image %} - - {% elif OPEN_GRAPH_IMAGE %} - - {% endif %} - {% elif page %} - {% if page.og_image %} - - {% elif OPEN_GRAPH_IMAGE %} - - {% endif %} - {% endif %} -{% endif %} diff --git a/content/xtemplates/index.html b/content/xtemplates/index.html deleted file mode 100644 index 527d712..0000000 --- a/content/xtemplates/index.html +++ /dev/null @@ -1,8 +0,0 @@ -sssss -{% extends "article_list.html" %} - -{% block canonical_rel %}{% endblock %} - -{% block banner %} - {% include 'includes/banner.html' %} -{% endblock %} diff --git a/content/xtemplates/page.html b/content/xtemplates/page.html deleted file mode 100644 index c4d35ee..0000000 --- a/content/xtemplates/page.html +++ /dev/null @@ -1,66 +0,0 @@ -{% extends "base.html" %} -{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %} -{% block html_lang %}{{ page.lang }}{% endblock %} -{% block meta %} - {% if page.author %} - - {% else %} - - {% endif %} - {% if page.summary %} - - {% endif %} -{% endblock %} -{% block opengraph %} - {% if OPEN_GRAPH_FB_APP_ID %} - - {% endif %} - - - - - - {% if page.og_image %} - - {% elif OPEN_GRAPH_IMAGE %} - - {% endif %} -{% endblock %} - -{% block canonical_rel %} - -{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -
    - {% if page.title %} -

    {{ page.title }}

    - {% endif %} - {% import 'includes/translations.html' as translations with context %} - {{ translations.translations_for(page) }} - {% if PDF_PROCESSOR %} - - get the pdf - - {% endif %} -
    - {{ page.content }} - {% if page.comments == 'enabled' %} - {% include 'includes/comments.html' %} - {% endif %} -
    -
    -{% endblock %} diff --git a/content/xtemplates/search.html b/content/xtemplates/search.html deleted file mode 100644 index be1c017..0000000 --- a/content/xtemplates/search.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends 'base.html' %} - -{% block title %} -{{ _('Search') }} - {{ super() }} -{% endblock %} - -{% block scripts %} - {% if 'assets' in PLUGINS %} - {% include 'includes/minify_tipuesearch.html' with context %} - {% else %} - - - - {% endif %} - -{% endblock %} - -{% block content %} -
    -{% endblock %} diff --git a/content/xtemplates/tag.html b/content/xtemplates/tag.html deleted file mode 100644 index aa9edc8..0000000 --- a/content/xtemplates/tag.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "article_list.html" %} -{% block title %}{{ tag }} - {{ SITENAME }}{% endblock %} -{% block meta %} - - -{% endblock %} -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} diff --git a/content/xtemplates/tags.html b/content/xtemplates/tags.html deleted file mode 100644 index 08c1c23..0000000 --- a/content/xtemplates/tags.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Tags - {{ SITENAME }}{% endblock %} - -{% block breadcrumbs %} - {% if DISPLAY_BREADCRUMBS %} - - {% endif %} -{% endblock %} - -{% block content %} -
    -

    {{ _('Tags for') }} {{ SITENAME }}

    -
    - {%- for tag, articles in tags|sort %} -
    - -
    -
    - {% for article in articles %} -

    {{ article.title }}

    - {% endfor %} -
    -
    -
    - {% endfor %} -
    - -
    -{% endblock %}