summaryrefslogtreecommitdiff
path: root/examples/tagblog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tagblog/templates')
-rw-r--r--examples/tagblog/templates/default.html6
-rw-r--r--examples/tagblog/templates/postitem.html2
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/tagblog/templates/default.html b/examples/tagblog/templates/default.html
index 21429fa..52678b7 100644
--- a/examples/tagblog/templates/default.html
+++ b/examples/tagblog/templates/default.html
@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>SimpleBlog - $title</title>
- <link rel="stylesheet" type="text/css" href="/css/default.css" />
+ <link rel="stylesheet" type="text/css" href="$root/css/default.css" />
<link rel="alternate"
type="application/rss+xml"
title="SimpleBlog"
@@ -13,8 +13,8 @@
<body>
<h1>SimpleBlog - $title</h1>
<div id="navigation">
- <a href="/index.html">Home</a>
- <a href="/posts.html">All posts</a>
+ <a href="$root/index.html">Home</a>
+ <a href="$root/posts.html">All posts</a>
</div>
$body
diff --git a/examples/tagblog/templates/postitem.html b/examples/tagblog/templates/postitem.html
index a14687b..0e62418 100644
--- a/examples/tagblog/templates/postitem.html
+++ b/examples/tagblog/templates/postitem.html
@@ -1,4 +1,4 @@
<li>
- <a href="/$url">$title</a>
+ <a href="$root/$url">$title</a>
- <em>$date</em> - by <em>$author</em>
</li>