bowman2001 / perplex

A Hugo theme to publish technical content (docs, news, blog, articles)
https://perplex.desider.at
Apache License 2.0
30 stars 13 forks source link

add comments with giscus.app #179

Open Kariton opened 4 months ago

Kariton commented 4 months ago

closes: #178

sonarcloud[bot] commented 4 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
8.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Kariton commented 4 months ago

config example:

params:
  giscus:
    enable: true
    repo: USER/REPO
    repo_id: ID
    category: "category"
    category_id: ID
    mapping: "pathname"
    strict: true
    reactions_enabled: true
    emit_metadata: false
    input_position: "top"
    theme: "preferred_color_scheme"
    loading: "lazy"
Kariton commented 4 months ago

to disable giscus on a page bases add this to frontmatter:

disableGiscus: true