Safari has its own standard for handling icons for pinned tabs, which requires a black-and-white .svg and a special tag. Without using this, pinning a tab to localhost will show just a blank square, instead of a pre-generated letter.