Skip to content

Commit

Permalink
Update Imgur feed alternate link.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Oct 11, 2017
1 parent a6b0e07 commit 7f0e7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/imgur_feed.erb
Expand Up @@ -5,7 +5,7 @@
<title><%= @username || "r/#{@subreddit}" %> on Imgur</title>
<icon>https://s.imgur.com/images/favicon-96x96.png</icon>
<link href="<%= request.original_url.esc %>" rel="self" />
<link href="https://imgur.com/<%= @username ? "user/#{@username}" : "r/#{@subreddit}" %>" rel="alternate" />
<link href="https://imgur.com/<%= @username ? "user/#{@username}/submitted" : "r/#{@subreddit}" %>" rel="alternate" />
<updated><%= Time.at(@data[0]["datetime"].to_i) if @data[0] %></updated>
<%-
@data.each do |image|
Expand Down

0 comments on commit 7f0e7b8

Please sign in to comment.