ok and I can use the conf file to use like a +2 string and make a PR ?
Core Files to change Meta Properties og:title and og:image
I'm looking to change the global meta properties og:title and og:image attributes for my website but can not seem to find the core files. My logo on FB links seem to be cutting off each time so I decided to create a custom image to link to that instead of the default site-logo image set my NodeBB.
@SimonQ For topics specifically, they are defined here: https://github.com/NodeBB/NodeBB/blob/master/src/controllers/topics.js#L180-L225
Elsewhere for categories, and all pages have a base set of meta tags as well.
@julian Is there no global file where I can set a default image? I.e. If I wanted to just link the home page to a Facebook link I want it to display an image set by me and not the site-logo.png.
I don't know what'll happen if you define an image here and another image is present in the topic. Give it a try and see.
Thanks @julian! The code is a bit daunting and I don't want to risk breaking anything at the moment. Is there any other way for me to change the og:image meta property? I tried adjusting my logo size but, that just made my logo smaller because of NodeBB's resizing in the header.