feat: added article translation templating
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user