mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 18:15:09 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
20 lines
777 B
HTML
20 lines
777 B
HTML
{{ if site.Params.hugoblox.comments.giscus }}
|
|
{{ $config := site.Params.hugoblox.comments.giscus }}
|
|
<script src="https://giscus.app/client.js"
|
|
data-repo="{{$config.repo}}"
|
|
data-repo-id="{{$config.repo_id}}"
|
|
data-category="{{$config.category}}"
|
|
data-category-id="{{$config.category_id}}"
|
|
data-mapping="{{ $config.mapping | default "pathname" }}"
|
|
data-strict="0"
|
|
data-reactions-enabled="1"
|
|
data-emit-metadata="0"
|
|
data-input-position="top"
|
|
data-theme="{{ $config.theme | default "preferred_color_scheme" }}"
|
|
data-lang="{{ $config.language_code | default "en" }}"
|
|
data-loading="lazy"
|
|
crossorigin="anonymous"
|
|
async>
|
|
</script>
|
|
{{ end }}
|