feat: added priority to languages
This commit is contained in:
parent
3e692dd74f
commit
37d28a3542
@ -157,7 +157,7 @@ class Article(CustomPath):
|
||||
|
||||
return {
|
||||
"article_content": article_content,
|
||||
"article_preview": article_content[:ARTICLE_PREVIEW_LENGTH],
|
||||
"article_preview": article_content[:ARTICLE_PREVIEW_LENGTH] + " ...",
|
||||
"article_overview_href": "/" + str(self.path.parent),
|
||||
"article_href": "/" + str(self.path.parent / self.stem),
|
||||
"article_title": self.get_first_header_content(article_content),
|
||||
|
Loading…
x
Reference in New Issue
Block a user