Skip to content

Commit

Permalink
Merge pull request #287 from wakairo/add__truncate_on_natural_separator
Browse files Browse the repository at this point in the history
Add truncate_on_natural_separator to the configuration template
  • Loading branch information
kpumuk authored Dec 30, 2023
2 parents 66dd6e8 + 04ec421 commit 22304a7
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@
# Add HTML attributes to the <title> HTML tag. Default is {}.
# config.title_tag_attributes = {}

# Add HTML attributes to the <title> HTML tag. Default is {}.
# config.title_tag_attributes = {}
# Natural separator when truncating. Default is " " (space character).
# Set to nil to disable natural separator.
# This also allows you to use a whitespace regular expression (/\s/) or
# a Unicode space (/\p{Space}/).
# config.truncate_on_natural_separator = " "

# Maximum length of the page description. Default is 300.
# Set to nil or 0 to remove limits.
Expand Down

0 comments on commit 22304a7

Please sign in to comment.