Sha256: b8574587ae333dcbd127e88e37ebe678fcdc752100556d284469781182c71b88
Contents?: true
Size: 848 Bytes
Versions: 4
Compression:
Stored size: 848 Bytes
Contents
--- layout: null permalink: /sitemap/posts.xml --- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9.xsd"> {%- assign entries = '' | split:'@' %} {%- for post in site.posts %} {%- assign nav_sitemap = post.nav-sitemap | isnil: true %} {%- if nav_sitemap and post.title %} {%- capture data -%} <url> <loc>{{ site.url }}{{ post.url }}</loc> <lastmod>{{ post.date }}</lastmod> </url> {%- endcapture %} {%- assign entries = entries | push: data %} {%- endif %} {%- endfor %} {%- for entry in entries -%} {{ entry }} {%- endfor -%} </urlset>
Version data entries
4 entries across 4 versions & 1 rubygems