def in_template_path(fn):
    """
    Return `fn` in template context, or in other words add `fn` to template
    path, so you don't need to write absolute path of `fn` in template
    directory manually.

    Args:
        fn (str): Name of the file in template dir.

    Return:
        str: Absolute path to the file.
    """
    return os.path.join(
        os.path.abspath(os.path.dirname(__file__)),
        "../templates",
        fn,
    )
Return `fn` in template context, or in other words add `fn` to template
    path, so you don't need to write absolute path of `fn` in template
    directory manually.

    Args:
        fn (str): Name of the file in template dir.

    Return:
        str: Absolute path to the file.