Open frknasir opened 4 years ago
Observations:
title
, og:title
, twitter:title
, twitter:url
have valuesmetainfo
method in SettingShow.vue
doesn't log any value, unless I add vue-meta
package to the appPossible solutions:
index.html
with generic meta tagsI think prerendering
is what will be helpful the most here because of this
the main requests by @AMG63-Bassim was that of preview when sharing posts on social media...
so yeah, I think we should go ahead with prerendering @OdunayoOkebunmi
because most of the pages we want to statically render are dynamic, the best route to go is SSR. But there is a lot about SSR implementation that i'm not comfortable with, due to the way the project is setup. most have to do with performance.
What i did, instead, in this PR is found a hack that will allow previews to come up when sharing blog posts(only) on social media.
I'll leave this issue open until we find a more definitive solution.
When you share, say, a blog post to twitter, a preview is not automatically generated. This is because meta tags are not properly generated for each page navigated to