Skip to content

Commit

Permalink
Giscus!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Plante committed Mar 4, 2024
1 parent b6657d4 commit 58757f6
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 3 deletions.
22 changes: 19 additions & 3 deletions content/posts/plant-traits-comp.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ That's precisely the goal of the [PlantTraits2024](https://www.kaggle.com/compet

Think of it as a place where you can:

* **Explore real-world datasets:** Tackle problems from predicting plant traits to diagnosing diseases.
* **Test your skills in competitions:** Challenge yourself, learn from others, and maybe even win prizes.
* **Join a supportive community:** Ask questions, collaborate with enthusiasts, and grow your AI expertise.
* Tackle problems from predicting plant traits to diagnosing diseases.
* Challenge yourself, learn from others, and maybe even win prizes.
* Ask questions, collaborate with enthusiasts, and grow your AI expertise.

It's not just about Plants. There are competitions of every kind for every level of expertise.

There's also generative AI competitions such as:

Expand Down Expand Up @@ -79,3 +81,17 @@ Contribute to cutting-edge research and help protect our planet.
Visit the [PlantTraits2024](https://www.kaggle.com/competitions/planttraits2024)
Challenge on [Kaggle](https://www.kaggle.com) to get started!

<script src="https://giscus.app/client.js"
data-repo="sineer/sin.io"
data-repo-id="R_kgDOLZ6T2Q"
data-category-id="DIC_kwDOLZ6T2c4CdsS-"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="preferred_color_scheme"
data-lang="en"
crossorigin="anonymous"
async>
</script>
22 changes: 22 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,25 @@ url = "https://x.com/sineercom"
name = "Rss"
url = "index.xml"



############################
## Comments
############################
[comments]
# Comment provider:
provider = "giscus"

# Which page types are commentable?
commentable = {page = true, post = true, docs = false, project = false, publication = true, talk = false}

# Configuration of giscus
[comments.giscus]
repo = "sineer/sin.io" # Repo where the comments will live
repo_id = "R_kgDOLZ6T2Q" # Repo where the comments will live
category = "Announcements" # Repo where the comments will live
category_id = "DIC_kwDOLZ6T2c4CdsS-" # Repo where the comments will live
mapping = "pathname" # How Utterances will match comment to page
label = "comment" # Label applied to issue by utteranc.es bot
theme = "light" # What theme to use
reactions_enabled = 0
14 changes: 14 additions & 0 deletions layouts/partials/comments/giscus.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ if site.Params.comments.giscus }}
<script src="https://giscus.app/client.js"
data-repo="{{site.Params.comments.giscus.repo}}"
data-repo-id="{{site.Params.comments.giscus.repo_id}}"
data-category="{{site.Params.comments.giscus.category}}"
data-category-id="{{site.Params.comments.giscus.category_id}}"
data-mapping="{{site.Params.comments.giscus.mapping}}"
data-reactions-enabled="{{site.Params.comments.giscus.reactions_enabled}}"
data-theme="{{site.Params.comments.giscus.theme}}"
crossorigin="anonymous"
async>
</script>
<noscript>Please enable JavaScript to view the comments powered by giscus.</noscript>
{{ end }}

0 comments on commit 58757f6

Please sign in to comment.