diff --git a/src/bootstraparse/modules/preparser.py b/src/bootstraparse/modules/preparser.py index 4286ec4..64794fd 100644 --- a/src/bootstraparse/modules/preparser.py +++ b/src/bootstraparse/modules/preparser.py @@ -227,15 +227,29 @@ class PreParser: self.replacements_done = True return self.file_with_all_replacements - def get_alias_from_config(self, shortcut, optional): + def get_alias_from_config(self, shortcut, optionals): """ Fetches shortcut paths from aliases.yaml :return: the html to insert as a string :param shortcut: id of the shortcut to fetch - :param optional: optional parameters along with alias + :param optionals: optional parameters along with alias """ - # return self.__env.config["aliases"][shortcut] - return f'