diff options
author | EuAndreh <eu@euandre.org> | 2021-01-20 13:39:04 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-20 13:39:04 -0300 |
commit | e4685312a6f7c5ea084a64fa59a1fde53bd6ce4d (patch) | |
tree | 95f018c215b82fdf5ee5b13166cc9160deeb5db9 /_plugins | |
parent | Add TIL on POSIX sh shebangs (diff) | |
download | euandre.org-e4685312a6f7c5ea084a64fa59a1fde53bd6ce4d.tar.gz euandre.org-e4685312a6f7c5ea084a64fa59a1fde53bd6ce4d.tar.xz |
_plugins/linter.rb: Allow single quotes on titles, slugify correctly
Diffstat (limited to '')
-rw-r--r-- | _plugins/linter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_plugins/linter.rb b/_plugins/linter.rb index 4972106..2bdac1a 100644 --- a/_plugins/linter.rb +++ b/_plugins/linter.rb @@ -28,6 +28,7 @@ module Jekyll def slugify(s) s.ljust(100) + .gsub(/[']/, '') .gsub(/[\W]+/, ' ') .strip .gsub(/\s\s+/, '-') |