[deploy] Fix erb output on sitemaps (#7009)
This commit is contained in:
parent
6ce09c2c87
commit
be63775a46
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<%= @articles.each do |path, last_comment_at| %>
|
||||
<% @articles.each do |path, last_comment_at| %>
|
||||
<url>
|
||||
<loc><%= ApplicationConfig['APP_PROTOCOL'] %><%= ApplicationConfig['APP_DOMAIN'] %><%= path %></loc>
|
||||
<lastmod><%= last_comment_at.strftime("%F") %></lastmod>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue