old_contents: const { posts } = require('../posts');
  
  module.exports = () => `<?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">
      <title>Logan McAnsh</title>
      <subtitle>Blog</subtitle>
      <link href="https://mcansh.blog/atom" rel="self"/>
      <link href="https://mcansh.blog"/>
      <updated>${posts[0].date}</updated>
      <id>https://mcansh.blog/</id>
      <author>
        <name>Logan McAnsh</name>
        <email>logan@mcan.sh</email>
      </author>
      ${posts.map(({ date, title, slug }) => (`
        <entry>
          <id>${slug}</id>
          <title>${title}</title>
          <link href="https://mcansh.blog/${slug}"/>
          <updated>${date}</updated>
        </entry>
      `)).join('')}
    </feed>
  `;
  
new_contents: const { posts } = require('../posts');
  
  const newestPost = posts[0];
  
  module.exports = () => `<?xml version="1.0" encoding="utf-8"?>
    <feed xmlns="http://www.w3.org/2005/Atom">
      <title>Logan McAnsh</title>
      <subtitle>Blog</subtitle>
      <link href="https://mcansh.blog/atom" rel="self"/>
      <link href="https://mcansh.blog"/>
      <updated>${newestPost.date}</updated>
      <id>https://mcansh.blog/</id>
      <author>
        <name>Logan McAnsh</name>
        <email>logan@mcan.sh</email>
      </author>
      ${posts.map(({ date, title, slug }) => (`
        <entry>
          <id>${slug}</id>
          <title>${title}</title>
          <link href="https://mcansh.blog/${slug}"/>
          <updated>${date}</updated>
        </entry>
      `)).join('')}
    </feed>
  `;
  
subject: make it a little cleaner