feat: added priority to languages

This commit is contained in:
Hazel 2025-04-14 16:46:12 +02:00
parent 3e692dd74f
commit 37d28a3542

View File

@ -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),