diff --git a/.github/workflows/bash__deploy-docker.yml b/.github/workflows/bash__deploy-docker.yml index 0873485..3f59763 100644 --- a/.github/workflows/bash__deploy-docker.yml +++ b/.github/workflows/bash__deploy-docker.yml @@ -5,7 +5,7 @@ on: workflows: - 'Build and push Docker' types: - - completed + - success workflow_dispatch: diff --git a/docs/working-notes/todo3.md b/docs/working-notes/todo3.md index 42eb6e0..c21e2af 100644 --- a/docs/working-notes/todo3.md +++ b/docs/working-notes/todo3.md @@ -499,5 +499,8 @@ custom my-prose-links // dark theme for github markdown https://github.com/sindresorhus/github-markdown-css/issues/104 https://github.com/sindresorhus/github-markdown-css + +table of contents id links +a href open in new tab ------------ ``` diff --git a/src/components/Giscus.astro b/src/components/Giscus.astro index f335805..dc0abac 100644 --- a/src/components/Giscus.astro +++ b/src/components/Giscus.astro @@ -1,16 +1,19 @@ --- +import { SELECTORS } from '@/constants/dom'; import { cn } from '@/utils/styles'; import type { HTMLAttributes } from 'astro/types'; export interface Props extends HTMLAttributes<'div'> {} +const { GISCUS_WIDGET_ID } = SELECTORS; + const { class: className } = Astro.props; ---