          output = output.replace('{{ description }}', description)
          output = output.replace('{{ page_id }}', filename[:-3])
  
          if prev_url:
              output = output.replace('{{ prev_url }}', prev_url)
              output = output.replace('{{ prev_url_disabled }}', '')
          else:
 
</s> remove     suffix = '.html'
 </s> add     suffix = '' </s> remove     if idx > 0:
 </s> add     if idx == 1 and not local:
        # Link back to '/', not '/index'
        prev_url_map[path] = '/'
    elif idx > 0:
        output = output.replace('{{ canonical_url }}', canonical_url)
          output = output.replace('{{ description }}', description)
          output = output.replace('{{ page_id }}', filename[:-3])
        output = output.replace('{{ canonical_url }}', canonical_url)
  
          if prev_url:
              output = output.replace('{{ prev_url }}', prev_url)
              output = output.replace('{{ prev_url_disabled }}', '')
          else:
keep add keep keep keep keep keep
 Drop .html suffixes in docs 
mkdocs.py