From 555c5539924ebe1efd64252221389c646dcaa998 Mon Sep 17 00:00:00 2001 From: Kevin Yap Date: Wed, 25 Feb 2015 21:37:36 -0800 Subject: [PATCH] Remove PDF-related elements from notmyidea PDF generation was removed from Pelican's core in #1010. --- pelican/themes/notmyidea/templates/article_infos.html | 2 +- pelican/themes/notmyidea/templates/page.html | 2 -- pelican/themes/notmyidea/templates/taglist.html | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/pelican/themes/notmyidea/templates/article_infos.html b/pelican/themes/notmyidea/templates/article_infos.html index 718967e0..172ad85d 100644 --- a/pelican/themes/notmyidea/templates/article_infos.html +++ b/pelican/themes/notmyidea/templates/article_infos.html @@ -16,7 +16,7 @@ {% endfor %} {% endif %} -

In {{ article.category }}. {% if PDF_PROCESSOR %}get the pdf{% endif %}

+

In {{ article.category }}.

{% include 'taglist.html' %} {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} diff --git a/pelican/themes/notmyidea/templates/page.html b/pelican/themes/notmyidea/templates/page.html index 5ac50b66..0d8283fe 100644 --- a/pelican/themes/notmyidea/templates/page.html +++ b/pelican/themes/notmyidea/templates/page.html @@ -5,8 +5,6 @@

{{ page.title }}

{% import 'translations.html' as translations with context %} {{ translations.translations_for(page) }} - {% if PDF_PROCESSOR %}get - the pdf{% endif %} {{ page.content }} {% endblock %} diff --git a/pelican/themes/notmyidea/templates/taglist.html b/pelican/themes/notmyidea/templates/taglist.html index 1e0b95a7..58f35576 100644 --- a/pelican/themes/notmyidea/templates/taglist.html +++ b/pelican/themes/notmyidea/templates/taglist.html @@ -1,2 +1 @@ {% if article.tags %}

tags: {% for tag in article.tags %}{{ tag | escape }} {% endfor %}

{% endif %} -{% if PDF_PROCESSOR %}

get the pdf

{% endif %}