From 37d28a3542676f300d389555bccb2a566ca2f928 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Mon, 14 Apr 2025 16:46:12 +0200 Subject: [PATCH] feat: added priority to languages --- stsg/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stsg/build.py b/stsg/build.py index 2211b06..3bb26be 100644 --- a/stsg/build.py +++ b/stsg/build.py @@ -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),