website: Match anchor generation to work like Redcarpet.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>