changeset 633:d648cd694286

GenshiTutorial: add body class to show that the ''@*'' XPath in the match template works.
author cmlenz
date Wed, 05 Sep 2007 12:39:56 +0000
parents c5e5801c32ac
children 60a1fb39f915
files examples/tutorial/geddit/templates/comment.html examples/tutorial/geddit/templates/index.html examples/tutorial/geddit/templates/info.html examples/tutorial/geddit/templates/submit.html
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/comment.html
+++ b/examples/tutorial/geddit/templates/comment.html
@@ -6,7 +6,7 @@
   <head>
     <title>Comment on “${link.title}”</title>
   </head>
-  <body>
+  <body class="comment">
     <h1>Comment on “${link.title}”</h1>
     <p py:if="comment">
       In reply to <strong>${comment.username}</strong>
--- a/examples/tutorial/geddit/templates/index.html
+++ b/examples/tutorial/geddit/templates/index.html
@@ -8,7 +8,7 @@
     <link rel="alternate" type="application/atom+xml" title="Geddit"
           href="${url('/feed/')}" />
   </head>
-  <body>
+  <body class="index">
     <h1>News</h1>
 
     <ol py:if="links" class="links">
--- a/examples/tutorial/geddit/templates/info.html
+++ b/examples/tutorial/geddit/templates/info.html
@@ -47,7 +47,7 @@
       });
     </script>
   </head>
-  <body>
+  <body class="info">
     <h1>${link.title}</h1>
     <a href="${link.url}">${link.url}</a><br />
     posted by ${link.username} at ${link.time.strftime('%x %X')}<br />
--- a/examples/tutorial/geddit/templates/submit.html
+++ b/examples/tutorial/geddit/templates/submit.html
@@ -6,7 +6,7 @@
   <head>
     <title>Submit new link</title>
   </head>
-  <body>
+  <body class="submit">
     <h1>Submit new link</h1>
 
     <form action="" method="post">
Copyright (C) 2012-2017 Edgewall Software