summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Tyler Ballance <tyler@slide.com>2009-05-25 14:09:24 -0700
committerR. Tyler Ballance <tyler@slide.com>2009-05-25 14:09:24 -0700
commitf3da625f2e8dc4aaabeea2bf6680894e177a79f8 (patch)
treeeb0e9d82fa9ee486ae0b25430d05cccc610bf3d9
parentb4c9fb44fcbe8e8e760be4be9d48774985373690 (diff)
downloadpython-cheetah-f3da625f2e8dc4aaabeea2bf6680894e177a79f8.tar.gz
Adjust the pathing for the recipes page
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
-rw-r--r--recipes/index.html40
-rw-r--r--recipes/index.tmpl2
2 files changed, 22 insertions, 20 deletions
diff --git a/recipes/index.html b/recipes/index.html
index 623912c..aa7492b 100644
--- a/recipes/index.html
+++ b/recipes/index.html
@@ -17,7 +17,7 @@
body {
-background:#ffffff url('images/bg.jpg') top center repeat-x;
+background:#ffffff url('../images/bg.jpg') top center repeat-x;
margin:10px 10px 0px 10px;
padding:0px;
color: #000;
@@ -62,7 +62,7 @@ margin-top: -15px;
}
UL.BLUE {
-list-style: url(images/bullet.jpg) disc;
+list-style: url(../images/bullet.jpg) disc;
font-size: 1.1em;
}
@@ -73,7 +73,7 @@ left:10px;
top:50px;
width:200px;
margin-top: 116px;
-background-image:url("images/strips_onside.jpg");
+background-image:url("../images/strips_onside.jpg");
background-repeat:repeat-y;
font-size:1.0em;
padding-left: 12px;
@@ -118,7 +118,7 @@ right:10px;
top:0px;
width: 200px;
font-size:1.1em;
-background-image:url("images/strips_onside.jpg");
+background-image:url("../images/strips_onside.jpg");
background-repeat:repeat-y;
margin-top:150px;
padding-left: 5px;
@@ -216,7 +216,7 @@ padding:0;
}
#topmenu a {
float:left;
-background:url(images/menuleft.gif) no-repeat left top;
+background:url(../images/menuleft.gif) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
@@ -224,7 +224,7 @@ text-decoration:none;
#topmenu a span, a:visited span {
float:left;
display:block;
-background:url(images/menuright.gif) no-repeat right top;
+background:url(../images/menuright.gif) no-repeat right top;
padding:5px 15px 4px 6px;
color:#888;
}
@@ -250,7 +250,7 @@ background-position:100% -42px;
#footer{
/*height:329px;*/
-background:#000 url('images/bg.jpg') top center repeat-x;
+background:#000 url('../images/bg.jpg') top center repeat-x;
text-align: center;
padding-top: 8px;
clear: both;
@@ -306,42 +306,42 @@ border:dashed 1px #888; padding:6px; font-size:1.1em; color:#fff;}
<div id="blogtitle">
<div id="small" style="margin-left: 130px;"><a href="#">Community Cheetah</a> </div>
<div id="small2">
- <a href="index.html">Home</a>&nbsp;|&nbsp;
- <a href="http://bugs.communitycheetah.org">Issues</a>&nbsp;|&nbsp;
- <a href="http://github.com/rtyler/cheetah/tree/master">Source</a>&nbsp;|&nbsp;
- <a href="roadmap.html">Roadmap</a>&nbsp;|&nbsp;
+ <a href="../index.html">Home</a>&nbsp;|&nbsp;
+ <a href="../http://bugs.communitycheetah.org">Issues</a>&nbsp;|&nbsp;
+ <a href="../http://github.com/rtyler/cheetah/tree/master">Source</a>&nbsp;|&nbsp;
+ <a href="../roadmap.html">Roadmap</a>&nbsp;|&nbsp;
</div>
</div>
<div id="topmenu">
<ul class="BLUE">
<li>
- <a href="index.html" title="Home">
+ <a href="../index.html" title="Home">
<span>Home</span>
</a>
</li>
<li>
- <a href="download.html" title="Download">
+ <a href="../download.html" title="Download">
<span>Download</span>
</a>
</li>
<li>
- <a href="docs.html" title="Documentation">
+ <a href="../docs.html" title="Documentation">
<span>Documentation</span>
</a>
</li>
<li>
- <a href="recipes.html" title="Recipes">
+ <a href="../recipes/" title="Recipes">
<span>Recipes</span>
</a>
</li>
<li>
- <a href="community.html" title="Community">
+ <a href="../community.html" title="Community">
<span>Community</span>
</a>
</li>
<li>
- <a href="developers.html" title="Developers">
+ <a href="../developers.html" title="Developers">
<span>Developers</span>
</a>
</li>
@@ -359,7 +359,7 @@ from the old Wiki</p>
</div>
<div id="rightcontent">
- <img style="margin-top:-9px; margin-left: -5px;" src="images/top2.jpg" alt="" />
+ <img style="margin-top:-9px; margin-left: -5px;" src="../images/top2.jpg" alt="" />
<div id="twitter_div">
<h2 class="sidebar-title">Twitter Updates</h2>
@@ -369,13 +369,13 @@ from the old Wiki</p>
</div>
- <img style="padding-top:5px; margin-left:-5px; margin-bottom:-4px;" src="images/specs_bottom.jpg" alt="" />
+ <img style="padding-top:5px; margin-left:-5px; margin-bottom:-4px;" src="../images/specs_bottom.jpg" alt="" />
</div>
<br clear="all"/>
<br/>
- <a href="http://www.python.org" target="_blank"><img src="images/python-logo.gif" border="0" alt="Python-powered" title="Python-powered" align="right"/></a>
+ <a href="http://www.python.org" target="_blank"><img src="../images/python-logo.gif" border="0" alt="Python-powered" title="Python-powered" align="right"/></a>
<br clear="all"/>
<br/>
<div id="footer">
diff --git a/recipes/index.tmpl b/recipes/index.tmpl
index 3b0edce..5e16dc9 100644
--- a/recipes/index.tmpl
+++ b/recipes/index.tmpl
@@ -2,6 +2,8 @@
#from Cheetah.Filters import Markdown
#extends WikiRoot.WikiRoot
+#attr PathPrefix = '../'
+
#def pagename()
#return 'Recipes'
#end def