You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for this, I was able to adjust it to my own needs and you laid it out really well! The one thing I can't seem to adjust is the meta description which gets compiled as:
<meta name="description" content="Simple jekyll template for use as a social media link tree." /> <meta property="og:description" content="Simple jekyll template for use as a social media link tree." />
I have set my own meta description in default.html and it gets compiled before these two lines, but these lines overwrite it when sharing the link. Oddly, I cannot find this string when searching in the repo. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
Sounds like you were on the right track. I don't think I understand the issue about sharing the link. Can you elaborate more or demonstrate that for me.
I'm poking around trying to learn more about how Jekyll compiles the meta tags. It would be a nice feature to set a specific variable for description in the site config.
Here is an example of sharing the link to the Github page in Slack. You see that it properly parses the name and even adds the image from the meta content. However, it still returns Link and the description Simple jekyll template for use as a social media link tree.
Here is the code which I added after {% include analytics-google.html %} and before {% seo %} in default.html:
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name=author content="{{ site.name }}">
<meta name="description" content="Curated and concise local news delivered to your inbox three days a week." />
<meta property="og:image" content="https://newgazette.co/img/logo_bg2.png" />
Firstly, thanks for this, I was able to adjust it to my own needs and you laid it out really well! The one thing I can't seem to adjust is the meta description which gets compiled as:
I have set my own meta description in default.html and it gets compiled before these two lines, but these lines overwrite it when sharing the link. Oddly, I cannot find this string when searching in the repo. Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: