code: def render(self):
          
          context = GLOBAL_TEMPLATE_CONTEXT.copy()
          context['tag'] = self
          entries = list(self.entries)
          entries.sort(key=operator.attrgetter('date'), reverse=True)
          context['entries'] = entries
  
          # render html page
          render_to = os.path.join(CONFIG['output_to'], 'tags', self.slug)
          if not os.path.exists(render_to):  # pragma: no coverage
              os.makedirs(render_to)
          _render(context, 'tag_index.html', os.path.join(render_to, 'index.html'))  # noqa
  
          # render atom.xml
          context['entries'] = context['entries'][:10]
          context['last_build'] = datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%SZ")  # noqa
  
          _render(context, 'atom.xml', os.path.join(render_to, 'atom.xml'))
          return True
docs: Render html page and atom feed