Sha256: 14ae4c3f07b9f3fc2283b4b73800881e52d670f0ada496b7befaf30441e30ca4

Contents?: true

Size: 653 Bytes

Versions: 3

Compression:

Stored size: 653 Bytes

Contents

--- name:sitemap pipeline:erb ---------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<%
context.node.sitemap_entries.each do |item|
%>
  <url>
    <loc><%= URI.escape(File.join(context.node['site_url'], item.dest_path)) %></loc>
    <lastmod><%= item['modified_at'].iso8601 %></lastmod>
    <changefreq><%= item['change_freq'] || context.node['default_change_freq'] %></changefreq>
    <% if priority = item['priority'] || context.node['default_priority'] %>
    <priority><%= priority %></priority>
    <% end %>
  </url>
<%
end
%>
</urlset>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webgen-1.0.0.beta3 data/webgen/passive_sources/templates/sitemap.template
webgen-1.0.0.beta2 data/webgen/passive_sources/templates/sitemap.template
webgen-1.0.0.beta1 data/webgen/passive_sources/templates/sitemap.template