docs: def get_template(template_path):
      """
      Get template object from absolute path.
  
      For example, the template has:
  
      .. code-block:: html
  
          {% macro add(a, b) -%}
              {{a + b}}
          {%- endmacro %}
  
      And call the macro as template object method.
  
      .. code-block:: python
  
          tpl = get_template('template.tpl')
          print(tpl.add(1, 2))
  
          >>> 3
  
      :param template_path: template absolute path.
      :return: template object
      """
      folder, fname = os.path.split(template_path)
      return create_env_by_folder(folder).get_template(fname)