diff options
Diffstat (limited to 'bin/index.atom.erb')
-rw-r--r-- | bin/index.atom.erb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/index.atom.erb b/bin/index.atom.erb index 1afbf8c..c02f709 100644 --- a/bin/index.atom.erb +++ b/bin/index.atom.erb @@ -7,13 +7,12 @@ <link rel="alternate" type="text/markdown" href="./index.md"/> <updated><%= @pages.map{|p|p.updated}.sort.last.rfc3339 %></updated> <author><%= Person.new("Andrew Murrell").atom %></author> - <id>https://lukeshu.com/blog/</id> + <id><%= $url %></id> <% @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.url %>.html"/> - <link rel="alternate" type="text/markdown" href="<%= page.url %>.md"/> - <id>https://andrewdm.me/<%= page.url %></id> + <link rel="alternate" type="text/html" href="<%= page.url %>"/> + <id><%= page.url %></id> <updated><%= page.updated.rfc3339 %></updated> <published><%= page.published.rfc3339 %></published> <title><%= page.title %></title> |