baseURL = 'http://www.mistergeek.net/'
languageCode = 'fr-fr'
title = 'Mistergeek'
# theme = "your-theme"
ignoreLogs = ["warning-goldmark-raw-html"]
enableRobotsTXT = true

# [permalinks]
  # posts = "/:section/:slug/"

# [taxonomies]
  # category = "categories"

[markup.goldmark.renderer]
  unsafe = true

# SEO Configuration
[params.seo]
  description = "Tutoriels et guides en informatique et technologie en français"
  keywords = ["tutoriel informatique", "guide technologie", "solutions informatiques", "développement web", "technologies", "innovation", "mistergeek"]
  author = "Mistergeek"
  theme_color = "#007bff"
  default_image = "/assets/images/og-logo.png"
  logo = "/assets/images/logo.png"
  
  # Analytics
  google_analytics = "G-XXXXXXXXXX"
  google_tag_manager = "GTM-XXXXXXX"
  
  # Social Media
  [params.seo.twitter]
    site = "@mistergeekfrance"
    creator = "@mistergeekfrance"
  
  # Facebook
  facebook_page = "mistergeekfrance"
  youtube_channel = "UCXXXXXXXXXXXXXXXXXXX"
  
  # Search Engine Verification
  # google_verification = "your-google-verification-code"
  # bing_verification = "your-bing-verification-code"
  # yandex_verification = "your-yandex-verification-code"
  
  # Local SEO
  # [params.seo.local]
  #   enabled = true
  #   country = "FR"
  #   language = "fr"
  #   region = "Île-de-France"
  #   city = "Paris"
  #   latitude = "48.8566"
  #   longitude = "2.3522"
  
  # Rich snippets
  enable_search_box = true
  enable_sitelinks_searchbox = true
  
  # Verification codes
  # [params.seo.verification]
  #   google = "your-google-verification-code"
  #   bing = "your-bing-verification-code"
  #   yandex = "your-yandex-verification-code"
  #   alexa = "your-alexa-verification-code"
  #   pinterest = "your-pinterest-verification-code"
  #   norton = "your-norton-verification-code"

# Image optimization for SEO
[imaging]
  quality = 75
  resampleFilter = "Lanczos"

[params.images]
  # Dimensions recommandées pour le SEO
  og_image = "1200x630"
  twitter_image = "1200x675"
  thumbnail = "400x300"
  hero = "1920x1080"

# WordPress API Configuration
[params.wordpress]
  apiUrl = "https://www.mistergeek.net/wp-json/wp/v2"
  postsPerPage = 10
  featuredImageSize = "large"
  authorEndpoint = "users"
  categoryEndpoint = "categories"
  tagEndpoint = "tags"

# Build configuration
[build]
  writeStats = true
  [[build.cachebusters]]
    source = "assets/.*\\.(js|ts|jsx|ts)$"
    target = "js"
  [[build.cachebusters]]
    source = "assets/.*\\.(css|sass|scss)$"
    target = "css"

# Output formats for search index
[outputs]
  home = ["HTML", "RSS", "JSON"]

[outputFormats]
  [outputFormats.JSON]
    mediaType = "application/json"
    baseName = "search-index"
    isPlainText = true
    notAlternative = true

# Search configuration
[params.search]
  enabled = true
  minQueryLength = 2
  maxResults = 10
