code: def tmpl_asciify(text):
          
          ger_umlaute = {'ae': u'ä',
                         'oe': u'ö',
                         'ue': u'ü',
                         'Ae': u'Ä',
                         'Oe': u'Ö',
                         'Ue': u'Ü'}
          for replace, search in ger_umlaute.items():
              text = text.replace(search, replace)
          return str(unidecode(text).replace('[?]', ''))
docs: * synopsis: ``%asciify{text}``
          * description: Translate non-ASCII characters to their ASCII \
              equivalents. For example, “café” becomes “cafe”. Uses the mapping \
              provided by the unidecode module.