| | |
| | | repoId: string |
| | | category: string |
| | | categoryId: string |
| | | themeUrl?: string |
| | | lightTheme?: string |
| | | darkTheme?: string |
| | | mapping?: "url" | "title" | "og:title" | "specific" | "number" | "pathname" |
| | | strict?: boolean |
| | | reactionsEnabled?: boolean |
| | |
| | | data-strict={boolToStringBool(opts.options.strict ?? true)} |
| | | data-reactions-enabled={boolToStringBool(opts.options.reactionsEnabled ?? true)} |
| | | data-input-position={opts.options.inputPosition ?? "bottom"} |
| | | data-light-theme={opts.options.lightTheme ?? "light"} |
| | | data-dark-theme={opts.options.darkTheme ?? "dark"} |
| | | data-theme-url={ |
| | | opts.options.themeUrl ?? `https://${cfg.baseUrl ?? "example.com"}/static/giscus` |
| | | } |
| | | ></div> |
| | | ) |
| | | } |