lyonrb / website

Lyon.rb website
https://www.lyonrb.fr
MIT License
5 stars 1 forks source link

fix sitemap rendering #41

Open cappert opened 2 years ago

cappert commented 2 years ago

there's a bunch of Ruby objects being rendered at the end of the sitemap.xml

% curl https://www.lyonrb.fr/sitemap.xml
<?xml version='1.0' encoding='utf-8' ?>
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<url>
<loc>http://lyonrb.fr/partnership/</loc>
<lastmod>2020-02-27</lastmod>
</url>
<url>
...
</url>
<url>
<loc>http://lyonrb.fr/</loc>
<lastmod>2020-07-26</lastmod>
</url>
[#<Middleman::Sitemap::Resource path=partnership.html>, #<Middleman::Sitemap::Resource path=coc-fr.html>, #<Middleman::Sitemap::Resource path=adherer.html>, #<Middleman::Sitemap::Resource path=coc-en.html>, #<Middleman::Sitemap::Resource path=index.html>]</urlset>

I feel like the culprit is ee5388fd2c4726c643bb64c9f5a1459b72d974de