Closed genebean closed 1 year ago
I commented out the image in my about page as a work around. The other related issue is that the index page is pulling some other open graph info from contact. For example, check out how Twitter previews https://www.volunteertechnologist.com/
On a related note, how come this theme doesn’t use the built in twitter card? https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/twitter_cards.html Does the theme one do extra stuff?
I set this at the top of
content/english/about.md
:Doing so breaks https://github.com/statichunt/iwriter-hugo/blob/adeab442cdd419459e711c8713451eb1e2b3fae7/layouts/partials/datasets/twitter-card.html#L3
Somehow, that section of code that sets
og:image
and the like is attempting to pull in the value ofimage
from the about page and, because it is remote, it is not passing thefileExists
test. What I feel is a bug is it pulling ANYTHING from the frontmatter of about.md.Is this maybe because the template for index and a few other pages are not under
themes/iWriter-hugo/layouts/_default/
like the templates for the about page?