def get_template(path):
    """
    Gets the HTML template and replaces patterns in a "template-like" manner
    :param str path: Path to the initial HTML template/file
    :return: The updated HTML content as string
    :rtype: str
    """
    with open(path, "r", encoding="utf-8") as f:
        f_content = f.read()
    # Getting the store list and placing it in the template
    for element, pattern in zip(["a", "b"], ["{{pattern1}}", "{{pattern2}}"]):
        f_content = f_content.replace(pattern, element)
    return f_content