feat: added toml dependency
This commit is contained in:
parent
b814434c48
commit
f3a86b8070
@ -112,6 +112,9 @@ class ArticleOverview:
|
|||||||
self.directory = directory
|
self.directory = directory
|
||||||
self.slug = self.directory.name
|
self.slug = self.directory.name
|
||||||
|
|
||||||
|
self.article_written = self.directory.stat().st_mtime
|
||||||
|
print(self.article_written)
|
||||||
|
|
||||||
self.location_in_tree: List[str] = location_in_tree or []
|
self.location_in_tree: List[str] = location_in_tree or []
|
||||||
self.location_in_tree.append(self.slug)
|
self.location_in_tree.append(self.slug)
|
||||||
self.url = "/" + "/".join(self.location_in_tree)
|
self.url = "/" + "/".join(self.location_in_tree)
|
||||||
@ -122,7 +125,6 @@ class ArticleOverview:
|
|||||||
exit(1)
|
exit(1)
|
||||||
ARTICLE_LAKE[self.slug] = self
|
ARTICLE_LAKE[self.slug] = self
|
||||||
|
|
||||||
|
|
||||||
self.child_articles: List[ArticleOverview] = []
|
self.child_articles: List[ArticleOverview] = []
|
||||||
self.article_translations: List[ArticleTranslation] = []
|
self.article_translations: List[ArticleTranslation] = []
|
||||||
self.article_translations_map: Dict[str, ArticleTranslation] = {}
|
self.article_translations_map: Dict[str, ArticleTranslation] = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user