diff --git a/.github/quartz/quartz.config.ts b/.github/quartz/quartz.config.ts index 58c4233..45ff7df 100644 --- a/.github/quartz/quartz.config.ts +++ b/.github/quartz/quartz.config.ts @@ -7,7 +7,7 @@ const config: QuartzConfig = { enableSPA: true, enablePopovers: true, analytics: null, - baseUrl: "peaceultime.com/static/obsidian", + baseUrl: "static.peaceultime.com/obsidian", ignorePatterns: ["private", "templates", ".obsidian"], defaultDateType: "created", theme: { @@ -48,7 +48,7 @@ const config: QuartzConfig = { priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower }), Plugin.SyntaxHighlighting(), - Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), + Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: true }), Plugin.GitHubFlavoredMarkdown(), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.Latex({ renderEngine: "katex" }), diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 79ed499..83a8ad4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,25 +22,6 @@ jobs: github-server-url: 'https://github.com' token: ${{ secrets.GH_PAT }} - - name: Cache node modules - id: cache-npm - uses: actions/cache@v3 - env: - cache-name: cache-node-modules - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} - name: List the state of node modules - continue-on-error: true - run: npm list - - name: "Checkout" uses: actions/checkout@v3 with: