site_name: Linda Lindsay Campaign
site_description: Documentation & Resources for Linda Lindsay's Ward B School Trustee Campaign
site_url: https://blog.lindalindsay.org
site_author: Linda Lindsay Campaign Team
docs_dir: docs
site_dir: site

# Repository
repo_name: Campaign Resources
repo_url: https://git.lindalindsay.org/admin/linda.lindsay.changemaker
repo_type: gitea
# Theme Configuration
theme:
  name: material
  custom_dir: docs/overrides

  # Color Palette - Using teal (closest to Linda's green) and amber (closest to her yellow)
  palette:
    # Light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: teal
      accent: amber
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

    # Dark mode  
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: teal
      accent: amber
      toggle:
        icon: material/brightness-4
        name: Switch to light mode

  # Features
  features:
    - announce.dismiss
    - content.action.edit
    - content.action.view
    - content.code.annotate
    - content.code.copy
    - content.code.select
    - content.tabs.link
    - content.tooltips
    - header.autohide
    - navigation.expand
    - navigation.footer
    - navigation.indexes
    - navigation.instant
    - navigation.instant.prefetch
    - navigation.instant.progress
    - navigation.prune
    - navigation.sections
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.top
    - navigation.tracking
    - search.highlight
    - search.share
    - search.suggest
    - toc.follow
    - toc.integrate

  # Typography
  font:
    text: Inter
    code: JetBrains Mono

  # Favicon
  favicon: logo.png

  # Logo
  logo: assets/logo.png

# Extra Configuration
extra:
  generator: false
  
  # Social Links
  social:
    - icon: fontawesome/brands/facebook
      link: https://www.facebook.com/share/16b4yqAw5d/
      name: Follow Linda on Facebook
    - icon: fontawesome/brands/bluesky
      link: https://bsky.app/profile/lindalindsay.bsky.social
      name: Follow Linda on Bluesky
    - icon: fontawesome/solid/envelope
      link: mailto:lindalindsaypublictrustee@gmail.com
      name: Contact the Campaign
    - icon: fontawesome/solid/phone
      link: tel:+1234567890
      name: Call the Campaign
# Markdown Extensions
markdown_extensions:
  # Python Markdown
  - abbr
  - admonition
  - attr_list
  - def_list
  - footnotes
  - md_in_html
  - toc:
      permalink: true
      title: On this page
      
  # Python Markdown Extensions  
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.details
  - pymdownx.emoji:
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
      emoji_index: !!python/name:material.extensions.emoji.twemoji
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.keys
  - pymdownx.magiclink:
      normalize_issue_symbols: true
      repo_url_shorthand: true
      user: squidfunk
      repo: mkdocs-material
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.snippets:
      auto_append:
        - includes/mkdocs.md
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.tabbed:
      alternate_style: true
      combine_header_slug: true
      slugify: !!python/object/apply:pymdownx.slugs.slugify
        kwds:
          case: lower
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde

# Plugins
plugins:
  - blog:
      blog_dir: blog
      blog_toc: true
      post_date_format: full
      post_url_date_format: yyyy/MM/dd
      post_url_format: "{date}/{slug}"
      post_slugify: !!python/object/apply:pymdownx.slugs.slugify
        kwds:
          case: lower
      post_slugify_separator: _
      categories_toc: true
      pagination_per_page: 10
      draft: true
      draft_if_future_date: true
  - search:
      separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
  - minify:
      minify_html: true
  - social:
      enabled: !ENV [CI, false]
  - tags:
      tags_file: tags.md

copyright: |
  Copyright &copy; 2025 Linda Lindsay for Ward B School Trustee<br>
