feat: added article translation templating

This commit is contained in:
2025-04-16 16:01:38 +02:00
parent b50833f19f
commit 4bc7a6d980
2 changed files with 6 additions and 11 deletions

View File

@@ -148,6 +148,7 @@ class ArticleTranslation:
self.context["meta"] = self.article.context_meta
self.context["url"] = self.url
self.context["language"] = LANGUAGES[self.language_code]
self.context["article_url"] = self.article.url
html_content = self.file.read_text()
if self.file.suffix == ".md":