code: function(feed, summarise) {
      var template = ''
        , url = this.config.url
        , title = this.config.title
        , perPage = this.config.perPage
        , posts = this.posts.slice(0, perPage)
        , site = this;
  
      summarise = typeof summarise === 'boolean' && summarise ? 3 : summarise;
      perPage = site.posts.length < perPage ? site.posts.length : perPage;
  
      template += '!!!xml\n';
      template += 'feed(xmlns="http://www.w3.org/2005/Atom")\n';
      template += '  title #{title}\n';
      template += '  link(href=feed, rel="self")\n';
      template += '  link(href=url)\n';
  
      if (posts.length > 0)
        template += '  updated #{dx(posts[0].date)}\n';
  
      template += '  id #{url}\n';
      template += '  author\n';
      template += '    name #{title}\n';
      template += '  - for (var i = 0, post = posts[i]; i < ' + perPage + '; i++, post = posts[i])\n';
      template += '    entry\n';
      template += '      title #{post.title}\n';
      template += '      link(href=url + post.url)\n';
      template += '      updated #{dx(post.date)}\n';
      template += '      id #{url.replace(/\\/$/, "")}#{post.url}\n';
  
      if (summarise)
        template += '      content(type="html") !{h(truncateParagraphs(post.content, summarise, ""))}\n';
      else
        template += '      content(type="html") !{h(post.content)}\n';
  
      return helpers.render(template, { locals: site.applyHelpers({
          paginator: site.paginator
        , posts: posts
        , title: title
        , url: url
        , feed: feed
        , summarise: summarise
      })});
    }
docs: Atom Jade template.
  
  @param {String} Feed URL
  @param {Integer} Number of paragraphs to summarise
  
  @return {String}