I would stick to the page specific variation given that you’re only including it once in your main layout file. It’s better to be specific than to just leave a favicon file in the root of your site. Also, if you decide to change the image in the future, you’ll have a hard time getting browsers to drop their cache of the old image. By specifying the file path, you can give the new icon a new name and so force browsers to update their cache.