Closed Joshfairhead closed 2 years ago
You have to edit the footers in the liebling folder by changing the code in /partials/footer.hbs
@Leovaldez42 - Thank you.
Ah, sorry. Follow up. That didn't work.
I wonder if its to do with compiling the theme again after modification? I had issues doing that the last time I modified the style from light to dark mode (should have just injected code), instead I hacked around and removed things from the compiled js. If you have any advice or pointers to set up the appropriate environment and compile it would be appreciated :)
To remove the Facebook from the footer you have to clear the input for the Facebook account in the Ghost Admin.
To remove the Facebook from the author profile page you have to clear the input for the author Facebook account in the Ghost Admin.
If you also want to remove the Facebook sharing button in posts you have to do the following:
Unzip the theme folder
Open the file post.hbs with a code editor and remove the following code:
<a href="https://www.facebook.com/sharer/sharer.php?u={{url absolute='true'}}"
class="m-icon-button filled in-share" target="_blank" rel="noopener" aria-label="Facebook">
<span class="icon-facebook" aria-hidden="true"></span>
</a>
How can I remove the Facebook social links? I have no information for it entered in the Ghost dashboard; how do I remove it from the posts (and across the theme in general)?
Thanks