title: "MANUSCRIPT TITLE"
submitjournal: "JOURNAL"
submitid:
lang: en
date: today
bibliography: [BB/Ref.bib, BB/localRef.bib]
author:
  - name: Ming Su
    email: mingsu@rcees.ac.cn
    orcid: 0000-0001-9821-1268
    url: https://drwater.rcees.ac.cn
    affiliations:
      - ref: skleac
      - ref: ucas
  - name: Min Yang
    email: yangmin@rcees.ac.cn
    affiliations:
      - ref: skleac
      - ref: ucas
    attributes:
      corresponding: true
affiliations:
  - id: skleac
    name: State Key Laboratory of Environmental Aquatic Chemistry, Research Center for Eco-Environmental Sciences, Chinese Academy of Sciences
    address: P.O. Box 2871
    city: Beijing
    postal-code: 100085
    url: https://www.skleac.ac.cn
  - id: ucas
    name: University of Chinese Academy of Sciences
    city: Beijing
    postal-code: 100049
    url: https://www.ucas.ac.cn
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: "Fig. S"
      space-before-numbering: false
      caption-prefix: "Fig. S"
      latex-env: sfg
      latex-list-of-file-extension: lost
      latex-list-of-description: Supplementary Figure
    - kind: float
      key: stb
      reference-prefix: "Table S"
      space-before-numbering: false
      caption-prefix: "Table S"
      latex-env: stb
      latex-list-of-file-extension: lost
      latex-list-of-description: Supplementary Table
    - kind: float
      key: seq
      reference-prefix: "Eq S"
      space-before-numbering: false
      caption-prefix: "Eq S"
      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
prefer-html: true

# execute:
#   freeze: auto # re-render only when source changes
#   cache: true

project:
  type: website
  output-dir: www/
  render:
    - index.qmd
    - MS/SM.qmd
    - MS/MS.qmd
    - MS/CL.qmd
    - MS/HL.qmd
    - MS/TC.qmd
  #   - MS/RN.qmd
  #   - MS/AC.qmd
website:
  title: "Version: {{< var branch >}}"
  reader-mode: true
  site-url: https://drwater.rcees.ac.cn/{{< var pubtype >}}/{{< var projtype >}}/{{< var reponame >}}/@{{< var branch >}}
  repo-url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}
  repo-actions: [edit, source, issue]
  page-navigation: true
  page-footer: "Copyright 2023, [Ming Su](https://drwater.rcees.ac.cn)"
  navbar:
    background: "grey"
    search: true
    right:
      - icon: house
        text: "Home"
        file: index.qmd
      - text: "Manuscript"
        file: MS/MS.qmd
      - text: "Supplementary Materials"
        file: MS/SM.qmd
      # - text: "Revision Notes"
      #   file: MS/RN.qmd
      - text: "Trackchanges"
        file: TC/index.qmd
      - text: "Slides"
        file: SD/index.qmd
      - text: "Other"
        menu:
          - text: "Highlights"
            file: MS/HL.qmd
          - text: "Cover Letter"
            file: MS/CL.qmd
            # - text: "Author Credits"
            # file: MS/AC.qmd
          - text: "Accomplishment"
            file: AC/index.qmd
      - icon: git
        menu:
          - text: Edit
            url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/src/branch/{{< var branch >}}
          - text: Issue
            url: https://drwater.rcees.ac.cn/git/manuscript/{{< var reponame >}}/issues
  comments:
    hypothesis:
      theme: clean
      openSidebar: false

format:
  html:
    theme: cosmo
    css: _extensions/inst/css/style.css
    toc: true
