go-ipfs version: 0.4.18-
Repo version: 7
System version: amd64/linux
Golang version: go1.11.1
Bug/Feature?
Currently when viewing a directory on a gateway, it will display "Index of / to /ipns/domain.com to /ipfs/HASH.

I think it should instead ALWAYS display the ipfs hash that's being shown, as this is both more consistent, more useful in case of screenshots (have fun trying to access a dnslink in 20 years), and makes better use of space since the URL will already be displayed in the browser's address bar.

There's also the option of displaying both the IPFS hash, and the URL, which is probably the best option if it's not difficult to implement.
I thought for sure I had commented on this somewhere, but I guess not.
I agree we should show the resolved path, however, I'm not sure about replacing the existing path as it's quite useful from a UX standpoint.
How about putting it in a footer or, maybe grayed out flushed right? That is:
Index of /ipns/ipfs.io/a/b (QmOther)
Anyone else with opinions?
@Stebalien grayed out and flushed right sounds good. Would it be useful to make the grayed out hash only appear if the existing path does not contain the hash? Showing both hashes at once is going to make that line pretty long.
Something like this could work too:

It would be easier to see than a footer, and it wouldn't break as easily on smaller screens.
That looks wonderful. I'm sorry for leaving this so long; if you have time, please resurrect your PR (didn't notice the progress on this issue till I saw you close it).