diff --git a/CHANGELOG.md b/CHANGELOG.md index de29b58..f9bf6d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,12 @@ ambiguous situations. ## Unreleased +## Added +- Support for link collections. + In "fancy" mode, a single HTML file with multiple links is generated. + In all other modes, PFERD creates a folder for the collection and a new file + for every link inside. + ## Fixed - Crawling of exercises with instructions diff --git a/PFERD/crawl/ilias/file_templates.py b/PFERD/crawl/ilias/file_templates.py index ae8bb1e..f959917 100644 --- a/PFERD/crawl/ilias/file_templates.py +++ b/PFERD/crawl/ilias/file_templates.py @@ -1,3 +1,5 @@ +import dataclasses +import re from enum import Enum from typing import Optional, cast @@ -12,7 +14,9 @@ _link_template_fancy = """