def list_themes(directory=None):
    repo = require_repo(directory)
    path = os.path.join(repo, themes_dir)
    return os.listdir(path) if os.path.isdir(path) else None
Gets a list of the installed themes.
dataset/ETHPy150Open joeyespo/gitpress/gitpress/themes.py/list_themes