Bugfix: generate sharing links with the .html extension