replace custom code with Jekyll's `escape` and `slugify`

!52
2 jobs for master in 2 minutes and 32 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #531922146
debian_buster

00:00:58

passed #531922144
ruby_latest

00:02:32