name: 🐛 Bug Report
description: Report a new problem encountered using the theme
labels: [bug]
body:
  - type: markdown
    attributes:
      value: |
        Thanks for taking the time to fill out this bug report!

        Before proceeding, please ensure the issue you're reporting is:
          - not caused by local customisations in your project
          - reproducible using the latest stable release of the theme
          - not due to the local Hugo cache being out of date (run `hugo mod clean` to clear the cache)
          - not already covered by an open issue ([check open issues](https://github.com/jpanther/congo/issues))
          - not a general question or feature request (use [GitHub Discussions](https://github.com/jpanther/congo/discussions) instead)

  - type: textarea
    id: issue-description
    attributes:
      label: Issue description
      description: Describe the issue and how to reproduce it, including what you expected to happen. Be as detailed as possible, particularly if the issue only appears under a specific configuration.
    validations:
      required: true
  - type: input
    id: theme-version
    attributes:
      label: Theme version
      description: What version of Congo are you using? An easy way to check the version of the code running in your environment is by verifying the theme version comment at the top of the `main.css` file in the built output of your site.
      placeholder: eg. v2.7.1
    validations:
      required: true
  - type: input
    id: hugo-version
    attributes:
      label: Hugo version
      description: What version of Hugo are you using? Please provide the output of the `hugo version` command.
      placeholder: eg. hugo v0.119.0+extended darwin/arm64
    validations:
      required: true
  - type: dropdown
    id: browsers
    attributes:
      label: Which browser rendering engines are you seeing the problem on?
      description: Select any that you have tested. This is particularly important for CSS issue reports.
      multiple: true
      options:
        - Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.)
        - Firefox (Mozilla Firefox)
        - WebKit (Safari)
        - Other (Please include details in the issue description)
  - type: input
    id: sample-url
    attributes:
      label: URL to sample repository or website
      description: If you have a repository or deployed Hugo website that demonstrates this issue, please provide the URL.
      placeholder: https://github.com/jpanther/congo
  - type: textarea
    id: logs
    attributes:
      label: Hugo output or build error messages
      description: Please copy and paste any relevant log output from Hugo or your build system. This will be automatically formatted into code, so no need for backticks.
      render: bash