satelito-sample

This is a sample web site for the Satelito ssg.
git clone git://soucy.cc/satelito-sample.git
Log | Files | Refs

sitemap.xml.html (604B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
      3   <% if sitemap then %>
      4     <% for i = 1, #sitemap do %>
      5       <url>
      6         <loc><%= sitemap[i].permalink -%></loc>
      7         <lastmod><%- os.date('%Y-%m-%dT%H:%M:%S', sitemap[i].time_modification) -%>Z</lastmod>
      8         <% if sitemap[i].changefreq then %>
      9           <changefreq><%= sitemap[i].changefreq -%></changefreq>
     10 	      <% end %>
     11         <% if sitemap[i].priority then %>
     12           <priority><%= sitemap[i].priority -%></priority>
     13         <% end %>
     14       </url>
     15 	  <% end %>
     16 	<% end %>
     17 </urlset>