Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Omission of article_infos in index template
From 28011b22beb3da18c3b1cc863cd415fffb4c40d7 Mon Sep 17 00:00:00 2001
From: FELD Boris <lothiraldan@gmail.com>
Date: Wed, 6 Apr 2011 10:52:51 +0200
Subject: [PATCH 2/2] Omission of article_infos in index template
---
notmyidea-cms/templates/index.html | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html
index a0ba3a7..2a06ed8 100644
--- a/notmyidea-cms/templates/index.html
+++ b/notmyidea-cms/templates/index.html
@@ -23,18 +23,7 @@
</header>
<div class="entry-content">
- <footer class="post-info">
- <abbr class="published" title="{{ article.date.isoformat() }}">
- {{ article.date.strftime('%a %d %B %Y') }}
- </abbr>
-
- <address class="vcard author">
- By <a class="url fn" href="#">{{ article.author }}</a>
- </address>
- <p> In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></p>
- {% include 'taglist.html' %}
- <p>{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">pdf</a>{% endif %}</p>
- </footer><!-- /.post-info -->
+ {% include 'article_infos.html' %}<!-- /.post-info -->
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
</div><!-- /.entry-content -->
--
1.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment