feat: added article home overview
This commit is contained in:
@@ -143,6 +143,7 @@ class Article(CustomPath):
|
||||
return {
|
||||
"article_content": article_content,
|
||||
"article_preview": article_content[:ARTICLE_PREVIEW_LENGTH],
|
||||
"article_overview_href": "/" + str(self.path.parent),
|
||||
"article_href": "/" + str(self.path.parent / self.stem),
|
||||
"article_language_name": self.language_code.native_name,
|
||||
"article_language_code": self.language_code.language_code,
|
||||
|
||||
Reference in New Issue
Block a user