Hwaro::Models::SummaryConfig
Automatic summary fallback ([content] summary_length /
summary_ellipsis). When a page has neither a <!-- more --> marker
nor a description, page.summary is filled from the first
length words of the rendered body (characters ×2 for CJK-dominant
text — see Utils::TextUtils.truncate_excerpt). length = 0 disables
the fallback entirely, restoring the pre-0.21 behaviour where such
pages had no summary at all.
Constants
DEFAULT_ELLIPSIS = "…"
DEFAULT_LENGTH = 70
Constructors
new
SourceInstance methods
ellipsis
Sourceenabled?
Sourcelength
Source