]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - atom_10.tmpl
For urljoin() to remove ".." components baseURL must ends in a slash.
[phdru.name/phdru.name.git] / atom_10.tmpl
index 0cc3ce88431f0420b4c2bfa51dcba980a74af465..8c601e03589220f30ac5e1b61c5b2ddc2b3815a2 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="koi8-r"?>
 <feed xmlns="http://www.w3.org/2005/Atom">
   <title>$title</title>
-  <id>$baseURL/news.html</id>
-  <link rel="self" type="application/atom+xml" href="$baseURL/atom_10.xml" />
-  <link rel="alternate" type="text/html" href="$baseURL/news.html" />
+  <id>${baseURL}news.html</id>
+  <link rel="self" type="application/atom+xml" href="${baseURL}atom_10.xml" />
+  <link rel="alternate" type="text/html" href="${baseURL}news.html" />
   <updated>${posts[0].date}T00:00:00Z</updated>
   <author>
     <name>$author</name>