From 75c976afcee30c23a3fa42762ffad52abaeab8f1 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 22 Nov 2012 07:44:02 +0100 Subject: Now using template inheritance. --- source/templates/base.html | 15 +++++++++++++++ source/templates/plain_text.html | 15 +++------------ 2 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 source/templates/base.html (limited to 'source') diff --git a/source/templates/base.html b/source/templates/base.html new file mode 100644 index 00000000..54cfc524 --- /dev/null +++ b/source/templates/base.html @@ -0,0 +1,15 @@ +## base.html + + + + pyAggr3g470r - News aggregator + + + + + + +${self.body()} + + + \ No newline at end of file diff --git a/source/templates/plain_text.html b/source/templates/plain_text.html index 8bd606de..3076e5bb 100644 --- a/source/templates/plain_text.html +++ b/source/templates/plain_text.html @@ -1,12 +1,5 @@ - - - - pyAggr3g470r - News aggregator - - - - - +## plain_text.html +<%inherit file="base.html"/>

${article_title} from ${feed_title}


${description} @@ -14,6 +7,4 @@

This software is under GPLv3 license. You are welcome to copy, modify or redistribute the source code according to the GPLv3 license.

-
- - + \ No newline at end of file -- cgit