summaryrefslogtreecommitdiff
path: root/bin/index.atom.erb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/index.atom.erb')
-rw-r--r--bin/index.atom.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/index.atom.erb b/bin/index.atom.erb
index 0667088..1afbf8c 100644
--- a/bin/index.atom.erb
+++ b/bin/index.atom.erb
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>AndrewDM.me <%= @path %></title>
+ <title>AndrewDM.me <%= @title %></title>
<link rel="self" type="application/atom+xml" href="./index.atom"/>
<link rel="alternate" type="text/html" href="./"/>
<link rel="alternate" type="text/markdown" href="./index.md"/>
@@ -11,9 +11,9 @@
<% @pages.sort_by{|p| p.updated}.reverse.each do |page| %>
<entry xmlns="http://www.w3.org/2005/Atom">
- <link rel="alternate" type="text/html" href="./<%= page.slug %>.html"/>
- <link rel="alternate" type="text/markdown" href="./<%= page.slug %>.md"/>
- <id>https://lukeshu.com/blog/<%= page.slug %>.html</id>
+ <link rel="alternate" type="text/html" href="<%= page.url %>.html"/>
+ <link rel="alternate" type="text/markdown" href="<%= page.url %>.md"/>
+ <id>https://andrewdm.me/<%= page.url %></id>
<updated><%= page.updated.rfc3339 %></updated>
<published><%= page.published.rfc3339 %></published>
<title><%= page.title %></title>