tangero / marigold-page

Marigold.cz blog
http://www.marigold.cz/
MIT License
0 stars 0 forks source link

Integrate Welcomments #3

Closed welcomments[bot] closed 2 months ago

welcomments[bot] commented 2 months ago

Hello there, you, and welcome to Welcomments!

We already did the hardest part of the integration, but we do need a final push (pun intended) from you to get started.

1. Pull this PR to your local computer

You can do so by running git fetch origin && git checkout feature/add-welcomments-s2oxr in your local git repository.

2. Add Welcomments to your post layout

Set the base url for your Jekyll site in the config file:

_config.yml:

url: "https://mysite.com"

Then, add the following snippet to _layouts/post.html.

This is the Jekyll file where you usually define the layout for your individual posts.

{% include welcomments/comments.html website_id = "ztUcqjd5JisGO2s1U7LvUxySG" %}

3. Push your changes

Finally, make a commit and push it to this very PR on GitHub:

git add .
git commit -m "Welcomments adjustments"
git push origin feature/add-welcomments-s2oxr

Merge this PR, wait for Netlify (or similar) to rebuild your site, and we should be done.

Time to start receiving some love letters from your readers!