diff --git a/bin/qsgen3 b/bin/qsgen3 index 837a790..73efa1c 100755 --- a/bin/qsgen3 +++ b/bin/qsgen3 @@ -519,12 +519,6 @@ _generate_index_page() { _log DEBUG "Successfully wrote comprehensive YAML to $temp_yaml_file" - # Theme CSS handling for index page - local source_theme_css_file="${QSG_CONFIG[paths_layouts_dir]}/css/${QSG_CONFIG[site_theme]}.css" - local target_theme_css_dir="${QSG_CONFIG[paths_output_dir]}/css" - local target_theme_css_file="$target_theme_css_dir/theme.css" - local pandoc_css_path_for_index="/css/theme.css" - _log DEBUG "In _generate_index_page: PROJECT_ROOT='$PROJECT_ROOT'" local pandoc_cmd_index=( pandoc @@ -550,7 +544,7 @@ _generate_index_page() { _log DEBUG "Pandoc command for index page will be constructed as follows:" _log DEBUG "Base command: pandoc" - _log DEBUG "CSS arg if theme applies: --css ${pandoc_css_path_for_index}" + _log DEBUG "CSS arg if theme applies: --css ${QSG_CONFIG[pandoc_css_path_arg]:-(not set or expected CSS file not found in output)}" _log DEBUG "Metadata file arg: --metadata-file ${temp_yaml_file}" _log DEBUG "Template arg: --template=${layout_index_file}" _log DEBUG "Output arg: --output=${output_index_file}" diff --git a/site.conf.example b/site.conf.example index 320afbc..b459529 100644 --- a/site.conf.example +++ b/site.conf.example @@ -5,7 +5,8 @@ site_name="My Example Site" site_tagline="An example site generated by qsgen3" site_url="http://localhost:8000" # Or your actual production URL -site_theme="default" # Specifies the theme to use (e.g., default, dark) +site_theme="minimal" # Specifies the theme to use (e.g., minimal, default) +site_theme_css_file="css/minimaltemplate-v1.css" # Path to main CSS file, relative to THEME'S static/ directory # --- Paths (relative to project root) --- paths_content_dir="content" diff --git a/themes/minimal/css/minimaltemplate-v1.css b/themes/minimal/static/css/minimaltemplate-v1.css similarity index 100% rename from themes/minimal/css/minimaltemplate-v1.css rename to themes/minimal/static/css/minimaltemplate-v1.css diff --git a/themes/minimal/css/jquery-3.5.1.js b/themes/minimal/static/js/jquery-3.5.1.js similarity index 100% rename from themes/minimal/css/jquery-3.5.1.js rename to themes/minimal/static/js/jquery-3.5.1.js diff --git a/themes/minimal/css/webflow.js b/themes/minimal/static/js/webflow.js similarity index 100% rename from themes/minimal/css/webflow.js rename to themes/minimal/static/js/webflow.js diff --git a/themes/minimal/css/webfont.js b/themes/minimal/static/js/webfont.js similarity index 100% rename from themes/minimal/css/webfont.js rename to themes/minimal/static/js/webfont.js