Compare commits

..

No commits in common. "e03e740149297155590074a07ebe2004f2e68db5" and "dc11dc799be321307661c2a22b2880558def9207" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Portfolio CMS: Flask-based Portfolio Management🚀
# Portfolio: Flask-based Portfolio 🚀
This software allows individuals and institutions to set up an easy portfolio/landingpage/homepage to showcase their projects and online presence. It is highly customizable via a YAML configuration file.

View File

@ -55,7 +55,7 @@ class ConfigurationResolver:
self._recursive_resolve(value, root_config)
elif key == "link":
try:
loaded = self._find_entry(root_config, self._mapped_key(value), False)
loaded = self._find_entry(root_config, self._mapped_key(value), True)
if isinstance(loaded, list) and len(loaded) > 2:
loaded = self._find_entry(root_config, self._mapped_key(value), False)
current_config.clear()
@ -114,7 +114,6 @@ class ConfigurationResolver:
key = next((k for k in current if self._mapped_key(k) == part), None)
# If no fitting key was found search in the children
if key is None:
# The following line seems buggy; Why is children loaded allways and not just when children is set?
current = self._find_by_name(current["children"],part)
if not current:
raise KeyError(