diff options
-rw-r--r-- | config.yml | 4 | ||||
-rw-r--r-- | content/about.md | 7 | ||||
-rw-r--r-- | content/posts/fist-post.md | 1 | ||||
-rw-r--r-- | themes/terminal/layouts/_default/single.html | 10 |
4 files changed, 22 insertions, 0 deletions
@@ -25,6 +25,10 @@ menu: name: Archives url: /archives/ weight: 30 + - identifier: about + name : About + url : /about + weight : 3 languages: en: diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..d92a4cb --- /dev/null +++ b/content/about.md @@ -0,0 +1,7 @@ +--- +title: "About" +url: "/about/" +summary: about +enableComment: false +--- +Hey there diff --git a/content/posts/fist-post.md b/content/posts/fist-post.md index d2cb996..8169681 100644 --- a/content/posts/fist-post.md +++ b/content/posts/fist-post.md @@ -4,5 +4,6 @@ date: 2022-03-19T16:07:08+05:30 draft: false tags: ['craps'] categories: ['no-catagories'] +enableComment: true --- This is a test diff --git a/themes/terminal/layouts/_default/single.html b/themes/terminal/layouts/_default/single.html index 3d375ad..e0ac822 100644 --- a/themes/terminal/layouts/_default/single.html +++ b/themes/terminal/layouts/_default/single.html @@ -50,5 +50,15 @@ {{ end }} {{ partial "comments.html" . }} + {{ if .Params.enableComment}} + <script src="https://utteranc.es/client.js" + repo="cooljith91112/experimentsofindrajith" + issue-term="pathname" + label="blog_comments" + theme="github-dark" + crossorigin="anonymous" + async> + </script> + {{end}} </div> {{ end }} |