project:
  type: website
  output-dir: www/

bibliography: [BB/Ref.bib, BB/localRef.bib]
lang: en
date: last-modified
prefer-html: true

crossref:
  fig-title: Fig. # (default is "Figure")
  tbl-title: Table # (default is "Table")
  eq-title: Eq. # (default is "Equation")
  title-delim: ":" # (default is ":")
  fig-prefix: Fig. # (default is "Figure")
  tbl-prefix: Table # (default is "Table")
  eq-prefix: Eq.
  ref-hyperlink: true # (default is true)
  custom:
    - kind: float
      key: sfg
      reference-prefix: "Supplementary Fig."
      space-before-numbering: true
      caption-prefix: "Supplementary Fig."
      latex-env: sfg
      latex-list-of-file-extension: lost
      latex-list-of-description: Supplementary Figure
    - kind: float
      key: stb
      reference-prefix: "Supplementary Table"
      space-before-numbering: true
      caption-prefix: "Supplementary Table"
      latex-env: stb
      latex-list-of-file-extension: lost
      latex-list-of-description: Supplementary Table
    - kind: float
      key: seq
      reference-prefix: "Supplementary Eq."
      space-before-numbering: true
      caption-prefix: "Supplementary Eq."
      latex-env: seq
      latex-list-of-file-extension: lost
      latex-list-of-description: Supplementary Equation
    - kind: float
      key: rfg
      reference-prefix: "Fig. R"
      space-before-numbering: false
      caption-prefix: "Fig. R"
      latex-env: rfg
      latex-list-of-file-extension: lost
      latex-list-of-description: Revision Figure
    - kind: float
      key: rtb
      reference-prefix: "Table R"
      space-before-numbering: false
      caption-prefix: "Table R"
      latex-env: rtb
      latex-list-of-file-extension: lost
      latex-list-of-description: Revision Table
    - kind: float
      key: req
      reference-prefix: "Eq R"
      space-before-numbering: false
      caption-prefix: "Eq R"
      latex-env: req
      latex-list-of-file-extension: lost
      latex-list-of-description: Revision Equation
    - kind: float
      key: efg
      reference-prefix: "Extended Data Fig."
      space-before-numbering: true
      caption-prefix: "Extended Data Fig."
      latex-env: efg
      latex-list-of-file-extension: lost
      latex-list-of-description: Extended Data Figure
    - kind: float
      key: etb
      reference-prefix: "Extended Data Table"
      space-before-numbering: true
      caption-prefix: "Extended Data Table"
      latex-env: etb
      latex-list-of-file-extension: lost
      latex-list-of-description: Extended Data Table

website:
  title: "{{< var reponame >}}: {{< var branch >}}"
  reader-mode: true
  site-url: https://drc.drwater.net/{{< var projtype >}}/{{< var reponame >}}/{{< var branch >}}
  repo-url: https://git.drwater.net/{{< var projtype >}}/{{< var reponame >}}
  repo-actions: [edit, source, issue]
  page-navigation: true
  page-footer: "© 2024 [DRWATER Resource Center](https://drc.drwater.net).All rights reserved.<br>Empowering Research and Innovation"
  google-analytics: "G-047QTSHC6Y"
  twitter-card:
    card-style: summary_large_image
    creator: "@msu86"
    site: "@msu86"
  comments:
    hypothesis:
      theme: clean
      openSidebar: false

execute:
  freeze: false # re-render only when source changes
  cache: false
  echo: false

format:
  dwhm-html: default

watermark:
  text: "中国科学院生态环境研究中心"
  size: 2
  angle: 15
  color: "#002200"
  opacity: 0.05
  cols: 10
  rows: 50
  col-space: 4
  row-space: 4
  z-index: -1
  html-font: "system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"
  pdf-font: "ETbb"

revealjs-plugins:
  - pointer

lightbox: auto
