# Page Configuration Template # Copy this file to pages//config.toml and customize [page] name = "homepage" title = "homepage" type = "landing" # single, landing, article, poster description = "Page created with landing template" [directories] # Page-specific directories (relative to page root) src_dir = "src" dist_dir = "dist" css_src = "src/assets/css" css_dist = "dist/assets/css" svg_src = "src/assets/svg" svg_dist = "dist/assets/svg" [shared] # Shared assets to include (from shared/ directory) css_modules = [ "@shared/base/reset.css", "@shared/base/typography.css", "@shared/utilities/colors.css", "@shared/components/animated-text.css" ] svg_sprites = [ "@shared/common/symbols.svg" ] [local] # Page-specific CSS modules (from page css_src) css_modules = [ "main.css" ] # CSS optimization critical_modules = 2 # Number of modules to inline as critical CSS minify = true remove_comments = true [output] # Output file names css_output = "main.min.css" html_output = "index.html" svg_sprites = "sprites.svg" [svg] # SVG optimization optimize = true precision = 2 [html] # HTML optimization minify = true remove_comments = true remove_whitespace = true [development] # Development server settings port = 8080 host = "localhost" [thresholds] # File size thresholds (bytes) inline_css_max_size = 10240 # 10KB inline_svg_max_size = 5120 # 5KB max_total_size = 102400 # 100KB [compression] # Compression settings enable_gzip = true gzip_ratio = 0.3 [build] # Build optimization parallel_builds = true cache_bust = true verbose = true