diff options
Diffstat (limited to 'examples/tagblog')
-rw-r--r-- | examples/tagblog/index.html | 2 | ||||
-rw-r--r-- | examples/tagblog/templates/default.html | 6 | ||||
-rw-r--r-- | examples/tagblog/templates/postitem.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/tagblog/index.html b/examples/tagblog/index.html index 777433d..e520791 100644 --- a/examples/tagblog/index.html +++ b/examples/tagblog/index.html @@ -3,7 +3,7 @@ <ul> $posts </ul> - <a href="/posts.html">All posts...</a> + <a href="$root/posts.html">All posts...</a> <div> $tagcloud </div> 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> |