Browse Source

feat: commento

pull/5/head
Rohan Verma 6 years ago
parent
commit
5ef1aeb9f6
3 changed files with 4 additions and 1 deletions
  1. +1
    -1
      config.toml
  2. +2
    -0
      layouts/partials/post/comment.html
  3. +1
    -0
      layouts/post/single.html

+ 1
- 1
config.toml View File

author = "Rohan Verma" # Optional, controls author name display on posts author = "Rohan Verma" # Optional, controls author name display on posts
hide_author = false # Optional, set true to hide author name on posts hide_author = false # Optional, set true to hide author name on posts
has_cookies = true # Optional, set true to disable cookie disclaimer has_cookies = true # Optional, set true to disable cookie disclaimer
disable_csp = false # Optional, set true to disable content security policy
disable_csp = true # Optional, set true to disable content security policy
images = [ images = [
"https://rohanverma.net/wp-content/uploads/avatar.jpg" "https://rohanverma.net/wp-content/uploads/avatar.jpg"
] # Suggested, controls default Open Graph images ] # Suggested, controls default Open Graph images

+ 2
- 0
layouts/partials/post/comment.html View File

<div id="commento"></div>
<script src="https://commento.rohanverma.net/js/commento.js"></script>

+ 1
- 0
layouts/post/single.html View File

<hr> <hr>
{{ partial "post/byline.html" . }} {{ partial "post/byline.html" . }}
{{ partial "post/related-content.html" . }} {{ partial "post/related-content.html" . }}
{{ partial "post/comment.html" . }}
</footer> </footer>
</article> </article>
{{ end }} {{ end }}

Loading…
Cancel
Save