Hi @Nagashree,
short answer: yes there is a way.
But for best solution you should have a developer to your side.
My personal approach is always:
- open the base layout of your theme. (most likely base.html)
- add a new “building block” like this after the {{standard_header_includes}}-tag to the <head>-tag
{% block head_tag %}
{% endblock head_tag %}
- open your desired template you’d like to change the OG infos of and write it like this
{% block head_tag%}
<meta property="og:title" content="{{content.name}}" />
<meta property="og:description" content="{{content.post_body|striptags|truncate(160,'...', true)" />
<meta property="og:image" content="{{content.featured_image}}" />
{% endblock head_tag %}
This Hubl codes will get all the informations of the blog posts or pages. If you’d like to change them manually you should consider a custom module for this.
If you can wait - I can create such module for my freebieFriday this week. Then you could download it from my github repo.
best,
Anton