nickbalestra / kactus

Cactus's default theme on Jekyll
MIT License
392 stars 161 forks source link

remove social sharing #37

Open morninglucky opened 6 years ago

morninglucky commented 6 years ago

I was just wondering how does one remove the social sharing links on posts? The Tweet and Facebook share buttons. I kind of want to remove them as I don't see anyone sharing my personal blog posts.

Can this happen? Thanks!

cjekel commented 6 years ago
  1. Remove share.html
  2. Remove sharing section in https://github.com/nickbalestra/kactus/blob/0a02351167944404c33f3faabb23c3b8ec9fd29c/_layouts/post.html post.html lines 24-26
  3. Change the link of your avatar to something other than twitter in https://github.com/nickbalestra/kactus/blob/0a02351167944404c33f3faabb23c3b8ec9fd29c/_layouts/post.html post.html line 16
  4. Remove twitter from https://github.com/nickbalestra/kactus/blob/master/_config.yml _config.yml

It would be nice to have a True False option for this in the future... Like what is done with the disqus comments...

morninglucky commented 6 years ago

I completely agree. If I knew more about coding I would jump head first in helping this theme, I truly love it. Could I ask for help on one last thing? It's about the feed.xml file. My feed.xml is working on my server, but when you go to click on a blog-post it wants to link back to http://localhost:4000/2017/pioneers/ Did I do something wrong?

cjekel commented 6 years ago

Did you change feed.xml? The link should be {{ site.url }}{{ post.url }} So I suspect your post is pioneers.md?

morninglucky commented 6 years ago

I don't remember changing the feed.xml code. Fact I don't think I wouldn't even know what to touch. This is what my xml page says: screenshot 2017-12-11 19 47 18

cjekel commented 6 years ago

I don't understand what is wrong.

If you are deploying the serve locally, then the link back to localhost is correct.

If you are running a live site. Then just make sure the URLs in _config are set properly. The theme will do the rest.

morninglucky commented 6 years ago

Ok so it's working now, seems I wasn't exporting the site using - Jekyll build --watch. smacks head