#!/usr/bin/env php section, with both inlined styles and blocking ## (versioned) links to head.css and head.js. $head_includes = [ "{$css_dir}/light-mode-GENERATED.css", "{$css_dir}/dark-mode-GENERATED.css", "{$css_dir}/head-VERSIONED.css", "{$js_dir}/head-GENERATED.js", "{$icon_dir}/icons.svg" ]; process_source_files($head_includes, 'build_head_includes.php'); ## External styles and scripts. ## Build the SSI-included section, with non-blocking (versioned) links ## to style.css and script.js. $body_includes = [ "{$css_dir}/style-VERSIONED.css", "{$js_dir}/script-GENERATED.js" ]; process_source_files($body_includes, 'build_body_includes.php'); ## Styles for standalone files. ## Build the SSI-included section, with both inlined styles and blocking ## (versioned) links to head.css and style.css. $body_includes = [ "{$css_dir}/light-mode-GENERATED.css", "{$css_dir}/head-VERSIONED.css", "{$css_dir}/style-VERSIONED.css" ]; process_source_files($body_includes, 'build_standalone_includes.php'); ?>