header: Fix OG metadata for image path when URL contains sub-dirs
header: Fix OG metadata for image path when URL contains sub-dirs

gcushen/hugo-academic,gcushen/hugo-academic,UltraCoderRU/hugo-academic,gcushen/hugo-academic,UltraCoderRU/hugo-academic,gcushen/hugo-academic