Enhance src_path generation in cringehash.py to handle cases with empty directory paths. This improves shortcode content creation by ensuring correct URL formatting when directory_rel is not present.
Refactor directory path handling in cringehash.py to correctly manage relative paths. Updated logic to remove './' from directory paths and ensure proper shortcode generation.