- Implement flexible theme switching via site.conf (site_theme, site_theme_css_file). - Ensure correct copying of theme static assets, with theme assets overriding root assets. - Resolve CSS linking issues by checking file existence after static copy and using correct paths for Pandoc. - Refactor path construction to prevent duplication when using absolute/relative output paths. - Create comprehensive how-it-works.md detailing system architecture, theme creation, and overall workflow. - Clarify design philosophy: qsgen3 remains design-agnostic, only linking main theme CSS automatically.
27 lines
860 B
Plaintext
27 lines
860 B
Plaintext
# Example Site Configuration for qsgen3
|
|
# Copy this file to 'site.conf' in your project root and customize it.
|
|
|
|
# --- Site Metadata ---
|
|
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)
|
|
|
|
# --- Paths (relative to project root) ---
|
|
paths_content_dir="content"
|
|
paths_output_dir="output"
|
|
paths_layouts_dir="layouts"
|
|
paths_static_dir="static"
|
|
|
|
# --- Build Options ---
|
|
# Generate an RSS feed (true/false)
|
|
build_options_generate_rss=true
|
|
|
|
# Generate a sitemap.xml (true/false)
|
|
# Note: sitemap generation is not fully implemented in qsgen3 yet,
|
|
# but the configuration option is reserved.
|
|
build_options_generate_sitemap=true
|
|
|
|
# Process draft posts/pages (true/false)
|
|
build_options_process_drafts=false
|