• Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

86
Views
Where do I paste Utterances <script> tag in Jekyll Minima theme?

I want to add comments on my Jekyll website with Utterances. I use Minima theme, so I don't have _layout/post.html.

I copied

<script src="https://utteranc.es/client.js"
        repo="sanchoi0310/comments"
        issue-term="pathname"
        theme="github-light"
        crossorigin="anonymous"
        async>
</script>

I thought I had to paste it in _site/index.html, but the comment window was not there and my <script> tag was automatically deleted.

Where do I paste Utterances <script> tag in Jekyll Minima theme?

9 months ago · Juan Pablo Isaza
1 answers
Answer question

0

Paste the code in the Default layout file. Also, you can create a layout for your page in _layouts file

<script src="https://utteranc.es/client.js"
        repo="sanchoi0310/comments"
        issue-term="pathname"
        theme="github-light"
        crossorigin="anonymous"
        async>
</script>

9 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.