Bläddra i källkod

feat: commento

pull/5/head
Rohan Verma 6 år sedan
förälder
incheckning
5ef1aeb9f6
3 ändrade filer med 4 tillägg och 1 borttagningar
  1. +1
    -1
      config.toml
  2. +2
    -0
      layouts/partials/post/comment.html
  3. +1
    -0
      layouts/post/single.html

+ 1
- 1
config.toml Visa fil

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 Visa fil

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

+ 1
- 0
layouts/post/single.html Visa fil

<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 }}

Laddar…
Avbryt
Spara