Kaynağa Gözat

feat: commento

pull/5/head
Rohan Verma 6 yıl önce
ebeveyn
işleme
5ef1aeb9f6
3 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. +1
    -1
      config.toml
  2. +2
    -0
      layouts/partials/post/comment.html
  3. +1
    -0
      layouts/post/single.html

+ 1
- 1
config.toml Dosyayı Görüntüle

@@ -25,7 +25,7 @@ footnoteReturnLinkContents = "↩" # Provides a nicer footnote return link
author = "Rohan Verma" # Optional, controls author name display on posts
hide_author = false # Optional, set true to hide author name on posts
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 = [
"https://rohanverma.net/wp-content/uploads/avatar.jpg"
] # Suggested, controls default Open Graph images

+ 2
- 0
layouts/partials/post/comment.html Dosyayı Görüntüle

@@ -0,0 +1,2 @@
<div id="commento"></div>
<script src="https://commento.rohanverma.net/js/commento.js"></script>

+ 1
- 0
layouts/post/single.html Dosyayı Görüntüle

@@ -46,6 +46,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<hr>
{{ partial "post/byline.html" . }}
{{ partial "post/related-content.html" . }}
{{ partial "post/comment.html" . }}
</footer>
</article>
{{ end }}

Yükleniyor…
İptal
Kaydet