code: def add_menu(self, name, link=None):
          
          if self.menu_began:
              if self.menu_separator_tag:
                  self.write(self.menu_separator_tag)
          else:
              # First time, create the menu tag
              self.write('<ul class="horizontal">')
              self.menu_began = True
  
          self.write('<li>')
          if link:
              self.write('<a href="{}">', self._rel(link))
  
          # Write the real menu entry text
          self.write(name)
  
          if link:
              self.write('</a>')
          self.write('</li>')
docs: Adds a menu entry, will create it if it doesn't exist yet