diff --git a/layouts/partials/utils/summary.html b/layouts/partials/utils/summary.html index a6921c36..e0708f98 100644 --- a/layouts/partials/utils/summary.html +++ b/layouts/partials/utils/summary.html @@ -1,4 +1,9 @@ {{- $summary := .Summary -}} +{{/* + 2024-10-27 @reuixiy I found that Hugo now applies the same logic for CJK language, + so we don’t need to add ellipsis additionally now. +*/}} +{{/* {{- if .Truncated -}} {{- if .Params.isCJKLanguage -}} @@ -8,4 +13,5 @@ {{- end -}} {{- end -}} +*/}} {{- return $summary -}}